WASHINGTON (AP) — Dmitri Young hit a go-ahead, three-run homer Monday night to lead the Washington Nationals to a 4-3 victory over the Houston Astros, who have lost seven consecutive road games.

Washington’s lone All-Star last week, Young lifted his batting average to a team-best .339 and his RBI total to a team-best 52. His ninth homer of the season came on a 1-0 pitch from Woody Williams with one out in the sixth inning.

It was the NL-high 22nd homer allowed by Williams (4-11) this season. The shot to right field followed a single by Ronnie Belliard and a bunt single by Ryan Zimmerman.

Young’s big hit put Washington ahead 4-2 and made a winner of reliever Saul Rivera (4-2), who pitched 1 1-3 scoreless innings and stranded two inherited runners. Jon Rauch allowed Carlos Lee’s 16th homer before getting out of the eighth, and closer Chad Cordero pitched a perfect ninth for his 16th save.

Rivera replaced Mike Bacsik, who gave up two runs — one earned— and seven hits over 5 2-3 innings. Bacsik might have given up more runs, but the Astros hurt themselves with two baserunning miscues.