Manny Machado hits a walk-off home run in the 12th inning against the Angels. ( / )

The Baltimore Orioles hadn’t played at home for more than two weeks, so it was fitting that their first game back at Camden Yards since the finale of the first half would unfold the way it did.

A nail-biter against the Los Angeles Angels stretched into extra innings before Baltimore escaped with a 7-6 victory in the 12th on a game-ending homer by Manny Machado.

Facing right-hander Cory Rasmus (2-1), Machado led off the 12th by smacking a 1-2 pitch over the left field wall for his 11th homer this season. Machado dashed around the bases, flipped his helmet in the air as he neared home plate and then was mobbed by his jumping, screaming and sunflower-seed-throwing teammates.

The walk-off blast also gave the Orioles their eighth win in their past 10 games at home, putting them five games over .500 at Camden Yards for the first time since September. The Orioles (59-46) are 7-4 since the all-star break and haven’t been 13 games over .500 since last August. It was their third win in four games against the Angels (63-42); all four have been decided by two or fewer runs.

Last Wednesday, right-handers Chris Tillman and Jered Weaver dueled in a game Weaver and the Angels ultimately won, 3-2. Neither pitcher was as crisp Tuesday evening. After allowing two runs against the Orioles in eight innings during last week’s outing, Weaver gave up two runs in the first Tuesday. With two outs, Weaver tried to sneak a two-strike, 88-mph fastball past Jones, who lined it over the left field wall for his 20th homer. He’s now homered at least 20 times in each of his last four seasons. It was Jones’s fourth long ball in 11 games since the second half began.

— Baltimore Sun

More on Major League Baseball:

Nats will fight for their TV rights

MLB scores | standings