BALTIMORE – Russell Martin led off the ninth inning with a tiebreaking home run off Jim Johnson, CC Sabathia turned in a sparkling pitching performance, and the New York Yankees beat the Baltimore Orioles 7-2 Sunday night in the opener of their AL divisional series.

Sabathia allowed two runs and eight hits in 8 2/3 innings to help the Yankees spoil the Orioles’ first home playoff game since 1997. The left-hander was 0-2 in three starts against Baltimore during the regular season.

With the score 2-all, Martin drove a 2-0 pitch from Johnson into the left-field seats. It was the first of four straight hits off Johnson, who led the majors with 51 saves.

Ichiro Suzuki drove in a run with an infield single, Robinson Cano hit a two-run double, and Nick Swisher’s sacrifice fly capped the big inning.

TIGERS 5, ATHLETICS 4: A dropped fly, two wild pitches and a little smooch for the baseball by a relieved reliever.

Then Don Kelly brought it all to an end with a simple fly ball.

Kelly scored the tying run on a wild pitch in the eighth inning, then hit a bases-loaded sacrifice fly in the bottom of the ninth to give Detroit a 2-0 lead over visiting Oakland in the AL division series.

“Was looking for a fastball and I got it,” Kelly said. “It’s a great feeling. To be able to go out there in that situation and do that.”

Detroit will go for a sweep in Game 3 on Tuesday at Oakland.

“We just need to win a game,” Oakland Manager Bob Melvin said. “If you start thinking about three games ahead, you lose your focus on Tuesday’s game.”

Triple Crown winner Miguel Cabrera doubled twice for the Tigers, hit a fly ball that resulted in a two-run error and later singled in the ninth.

It was 1-all before a wild final three innings that included a big Oakland misplay, two game-tying wild pitches and several momentum changes.

It was the sixth straight postseason loss for the A’s, all to Detroit. The Tigers swept Oakland in the 2006 AL championship series.

Omar Infante and Cabrera hit back-to-back singles off Grant Balfour with one out in the ninth. With men on first and third, Prince Fielder was intentionally walked, bringing up Kelly, who had stayed in the game as the designated hitter after pinch-running the previous inning. Kelly’s fly to right was plenty deep enough to score Infante without a play at the plate.

It was tied at 4 after both teams made their share of mistakes in the seventh and eighth. Cliff Pennington gave the A’s the lead with an RBI single in the seventh, but center fielder Coco Crisp dropped Cabrera’s two-out fly ball in the bottom half, allowing two runs to score.

Oakland tied it in the eighth on a wild pitch by Joaquin Benoit, and Josh Reddick followed with a solo homer to give the A’s a 4-3 lead. Then it was Ryan Cook’s turn to throw a tying wild pitch, allowing Kelly to score.

Pennington nearly came through again for Oakland in the ninth, but his deep drive down the left-field line was just foul. With runners on first and third and two out, Al Alburquerque got Yoenis Cespedes on a grounder to the mound — and the right-hander planted a little kiss on the ball before throwing to first.