BALTIMORE (AP) — Ubaldo Jimenez pitched seven sharp innings and the Baltimore Orioles rallied to beat the Minnesota Twins 4-2 Thursday night for a three-game sweep.

Manny Machado and rookie Joey Rickard homered for the Orioles, who trailed 2-0 in the sixth before coming back against Phil Hughes (0-1).

Jimenez (1-0) gave up a first-inning homer to Joe Mauer and an unearned run in the second before bouncing back to hold the Twins at bay. The right-hander allowed eight hits, struck out nine and walked none.

Jimenez retired 12 of the final 14 batters he faced, striking out seven.

Orioles rookie Dylan Bundy worked the eighth and Darren O'Day got three straight outs for his first save.