Updated

Matt Wieters hit a three-run homer, J.J. run shot and Mark Reynolds had a solo blast in the 5 win Friday against the Yankees.

Nolan Reimold doubled, tripled and drove in three for the Orioles, who won their fifth consecutive game after plating nine runs against New York starter A.J. Burnett.

Tommy Hunter (3-2) allowed four runs in seven innings to help Baltimore win on a night the team honored the late Mike Flanagan.

Flanagan, who died Wednesday of a self-inflicted gunshot wound to the head, won the 1979 Cy Young as a pitcher for the Orioles and helped the team win the World Series in 1983. He then served as a coach, front office executive and broadcaster for the team.

Burnett (9-11) matched a career high with nine runs allowed in five innings, finishing an arduous August. In five starts, he posted an 11.91 ERA (30 earned runs in 22 2/3 innings), and allowed six homers and 44 hits.

The right-hander has given up at least seven runs in four outings this season -- three of which came in August.

Alex Rodriguez, Jorge Posada and Nick Swisher homered for the Yankees, who were coming off Thursday's 22-9, three-grand slam rout of Oakland.