BALTIMORE — Manny Machado homered off Cory Rasmus leading off the 12th inning to give the Orioles a 7-6 victory over the Angels on Tuesday night.
Machado hit Rasmus' 1-and-2 breaking ball into the leftfield seats to end the back-and-forth duel between AL contenders.
Ryan Webb worked out of a two-on, two-out jam in the 12th for Baltimore, which improved to 12-3 in extra innings.
Adam Jones and Nick Markakis homered for the Orioles, playing their first home game since the All-Star break. They went 6-4 on a West Coast swing against three playoff contenders, including Los Angeles.
Josh Hamilton homered and had three RBIs for the Angels, who have lost eight of their past 11 against Baltimore.
A potential pitching duel between Jered Weaver and Chris Tillman turned into a slugfest, as both former All-Stars left after the fifth inning with the Orioles leading 6-5.
Weaver gave up a season-high six earned runs and walked four. Tillman yielded five runs, three earned, and six hits, including three doubles and a home run.
After Hamilton delivered an RBI grounder in the first, the Orioles scored twice in the bottom half. Jones drove an 0-and-2 fastball over the leftfield wall — giving him 20 home runs for a fourth straight season — and J.J. Hardy added an RBI single.
Los Angeles capitalized on Tillman's throwing error to take a 3-2 lead in the second before Machado doubled in a run in the Orioles' half.
After Hank Conger hit a sacrifice fly for the Angels in the fourth, Weaver issued two walks in the bottom half and Markakis followed with a drive off the rightfield foul pole to make it 6-4.
Hamilton homered in the fifth and tied it in the seventh with an infield hit.
The walkoff win, Baltimore's eighth this season, also was its eighth victory in its past 10 games at home, putting the Orioles five games over .500 at Camden Yards for the first time since last September. They are 7-4 since the All-Star break.