MILWAUKEE — Carlos Santana hit two solo homers and William Contreras added a three-run shot as the Milwaukee Brewers rallied to beat the Washington Nationals 5-3 on Friday night.

Milwaukee began the day with a 4 1/2-game lead in the NL Central over the Chicago Cubs, who played at Arizona.

Santana homered to cap a four-run fifth and opened the eighth with his 21st homer for his 1,000th career RBI. Santana, acquired just before the deadline from Pittsburgh, has nine homers in 39 games with Milwaukee.

Wade Miley (8-4) allowed three runs and four extra-base hits in the first inning, but he did not give up another hit until a two-out single in the sixth by Carter Kieboom, the last batter he faced. Miley struck out three and walked two.

The Baltimore Banner thanks its sponsors. Become one.

Trevor Megill followed with 1 1/3 scoreless innings, Abner Uribe tossed a perfect eighth, and Devin Williams struck out the side in the ninth for his 35th save in 39 opportunities.

The Brewers erased a 3-0 deficit in the fifth on consecutive homers by Contreras and Santana off Jake Irvin (3-6). Rowdy Tellez walked to open, and Christian Yelich drew a two-out walk. Contreras then tied it with his 16th, driving the first pitch 456 feet to left-center. Santana followed with a homer to right, chasing Irvin.

Irvin allowed four runs and three hits in 4 2/3 innings but walked five in a 102-pitch outing.

The Nationals tagged Miley for three runs in the first inning on a homer and three doubles. With one out, Lane Thomas lined a solo homer to left, his 25th. Joey Meneses followed with a double, and Kieboom and Ildemaro Vargas added consecutive RBI doubles with two outs.

More From The Banner