PHOENIX - The Arizona Diamondbacks tried to mount another ninth-inning rally against Cincinnati, and it almost worked.

Instead, the Reds escaped after another shaky appearance by hard-throwing closer Aroldis Chapman, earning a 4-2 victory Sunday that snapped the Diamondbacks' four-game winning streak.

"We hung in there, got a couple of runs and had some pressure on them in the ninth inning," Arizona manager Kirk Gibson said. "Guys played hard, we just got beat by a pretty good pitcher today."

He was speaking of Cincinnati starter Mat Latos (7-1), who struck out 13 in 7 2/3 innings.

"Not too many guys score against this guy," Gibson said. "Look what he has done over the last 20 starts. We hung in there. We gave ourselves a chance to win. We hung in there enough to get him out of the game. You are not going to win them all."

The NL West-leading Diamondbacks went 4-2 on a six-game homestand.

Latos allowed six hits and walked one.

"He kept the ball down," Arizona slugger Paul Goldschmidt said. "They made some good plays and when he got ahead he made great putout pitches, slider mostly. He used his fastball as well. He did a good job and we weren't able to get anything going."

Latos went 21 starts without a loss before Pittsburgh beat him Tuesday. The right-hander didn't strike out anyone in the first two innings Sunday, then fanned 13 over the next 5 2/3.

"When he's good, he's real good," Reds manager Dusty Baker said.

Shin-Soo Choo hit a leadoff home run and Brandon Phillips added a two-run shot in the first inning off Randall Delgado (0-1) as the Reds averted a three-game sweep.

After blowing a save in Cincinnati's 4-3 loss on Saturday, Chapman pitched out of trouble in the ninth to get his 19th save.

The left-hander got the first two batters to bounce out to shortstop before Cliff Pennington singled and went to second on defensive indifference. Pinch hitter Wil Nieves singled in Pennington to cut it to 4-2.

A wild pitch moved Nieves to second, then Chapman hit Gerardo Parra in the right forearm with a 100 mph fastball.

Pitching coach Bryan Price went to the mound to settle down Chapman.

Willie Bloomquist then popped out to center to end the game.

Latos fanned six in a row in the third and fourth - Delgado, Parra, Bloomquist, Goldschmidt, Miguel Montero and Jason Kubel - all swinging. Of Latos' season-high 110 pitches, 79 were strikes.

"Can't complain with that," Latos said.

The big strikeout number was a mixed blessing, he said.

"You start striking out a lot of players, you start throwing a lot of pitches," Latos said.

Delgado went five innings, allowing four runs - three earned - and six hits.

The right-hander, who came to Arizona from Atlanta as part of the Justin Upton trade, made his second start since being called up from Triple-A Reno.

Up next

• What: Diamondbacks at Nationals

• When: 4:05 p.m., Tuesday

• TV;radio: FSAZ; 1490-AM, 104.9-FM