The Cardinals got what for them is an offensive outburst – four runs – and closed their homestand with a 4-2 win over the Reds on Wednesday afternoon.

It was the most runs for the Cardinals since their 9-1 win over the Pirates to start the six-game homestand, and now they head to Milwaukee for four games starting Thursday.

The Cardinals took two out of three games against the team favored to win the NL Central and got a 3-3 split on the homestand.

"It was a good day," manager Mike Matheny said. "We'll take that. It was a tough series."

Lance Lynn struck out five and allowed five hits in seven innings to get his fifth win of the season and his 10th win in a row going back to last season.

"I was getting ahead, and was able to use my curveball and my slider," Lynn said. "When you've got three of those four going, it's usually good."

"He's throwing the ball well," Matheny said. "It was a very good day for him. He was in control the entire time."

Lynn also had a big day at the plate. He singled in the fifth inning, breaking an 0 for 52 run that went back to April 20, 2012. "When you go 0 for 50-something, that feels good," he said.

Edward Mujica gave up a leadoff homer to Brandon Phillips in the ninth but still picked up his sixth save.

The Cardinals got a solo home run from Carlos Beltran in the fourth to take the lead and then, after the Reds had tied the game in the top of the sixth, scored three runs in the bottom of the sixth to grab the lead back. They used a walk and four singles to get the job done. It was the first time the Cardinals had scored more than two runs in an inning since Friday.