PHOENIX (AP)Merrill Kelly was a little-known journeyman when he signed with the Arizona Diamondbacks in 2019 after four seasons toiling on the mound in South Korea.

These days, he’s arguably the most important part of the team’s rotation.

Kelly came within one out of his first complete game, Daulton Varsho and David Peralta homered in the eighth inning and the Arizona Diamondbacks beat the Colorado Rockies 4-1 on Friday night.

Kelly (3-1) has been one of the best pitchers in the big leagues this season with a 1.23 ERA through six starts. The right-hander got some added security during spring training when he signed an $18 million, two-year deal that will keep him under contract with the D-backs through 2024.

”I just think it’s a mentality,” Kelly said. ”I’m more comfortable in this locker room, I’m more comfortable on that mound, I know I can compete with anybody and everybody. There’s no getting my feet wet anymore.”

The score was tied at 1 in the eighth when Varsho hit a high 98 mph fastball from Carlos Estevez over the right-field wall for his sixth homer of the year.

Two batters later, Peralta added a two-run drive that pushed the Diamondbacks ahead 4-1.

Arizona has won four straight games, jumping above .500 for the first time since opening day with a 14-13 mark.

The timely homers helped Kelly earn the win. He needed 106 pitches to navigate 8 2/3 innings, giving up one run on seven hits and two walks while striking out eight.

”Once again, it was Merrill’s day,” Diamondbacks manager Torey Lovullo said. ”He went out there and was dealing. On a day where there was still a little bit of fatigue in the bullpen, he gave everybody a rest.”

Kelly gave up back-to-back singles with two outs in the ninth and was pulled from his 70th major league start.

Lovullo brought in Mark Melancon, who walked Sam Hilliard to load the bases. Jose Iglesias followed with a liner that deflected off Melancon’s left thigh, but he was able to recover and get the out at first.

The Rockies took a 1-0 lead in the first when C.J. Cron’s double landed on the left-field line, scoring Connor Joe. The Diamondbacks made it 1-all in the second on Seth Beer’s sacrifice fly.

Colorado got another quality outing from righty Chad Kuhl, who gave up one run over six innings and lowered his ERA to 1.82. He struck out five, walked two and permitted three hits.

WEST IS BEST

With the win by the Diamondbacks, every team in the NL West has a winning record.

MEA CULPA

Veteran umpire Dan Bellino issued an apology after ejecting Diamondbacks starter Madison Bumgarner from a game in Miami this week, which Arizona eventually won 8-7.

The Diamondbacks said Friday they received a copy of Bellino’s apology from Major League Baseball.

”I would like to address my actions on May 4th involving Madison Bumgarner,” the statement said. ”When I began my MLB career almost 15 years ago, I received some good advice. I was told to umpire every game as if my children were sitting in the front row. I fell short of those expectations this week. While I can’t go back and change what happened, I take full accountability. I will learn from this incident, and I sincerely apologize.”

Bellino was conducting a routine foreign substance check on Bumgarner following the first inning Wednesday in Miami when the ejection occurred. Bumgarner said something to Bellino as the check was ending, and the umpire threw him out.

Bumgarner faces no further discipline from MLB.

The 43-year-old Bellino joined the full-time MLB umpiring staff in 2011 and worked the World Series last year.

TRAINER’S ROOM

Diamondbacks: Reinstated INF Josh Rojas and Melancon from the 10-day injured list. INF Sergio Alcantara was designated for assignment and RHP Corbin Martin was sent to Triple-A Reno. … C Carson Kelly (left abdominal soreness) was scratched just before the game. Jose Herrera started in Kelly’s place.

Rojas was in the lineup for the first time this season and finished with a single and a walk in four plate appearances.

UP NEXT

The Diamondbacks send RHP Zach Davies (1-1, 4.24 ERA) to the mound against Rockies LHP Kyle Freeland (1-3, 4.85) on Saturday night.

More AP MLB: https://apnews.com/hub/mlb and https://twitter.com/AP-Sports