Orioles beat Mariners in 13 innings, 7-6

For the first time this season, the Baltimore Orioles won a game despite trailing after seven innings.

They had to work overtime and mount one final comeback to make it happen.

Matt Wieters singled home the winning run with two outs in the 13th inning, and the Orioles beat the Seattle Mariners 7-6 on Tuesday night to end a four-game losing streak.

After the Mariners got the go-ahead run in the top of the 13th, the Orioles scored twice in the bottom half against Brandon League, who blew his first save opportunity in 10 chances this season.

J.J. Hardy homered and had four hits for Baltimore in his first game back from the disabled list. The Orioles, who trailed 2-1 in the sixth and 4-3 in the eighth, improved to 1-17 when trailing after seven.

"Real big. We made it exciting there in the 13th. I think it was the 13th," Hardy said. "To come back and to get two runs was great."

Baltimore blew a one-run lead with two outs in the ninth, but it all ended well — even if it took 4 hours, 8 minutes to get it done.

"It was tough," Orioles manager Buck Showalter said. "But I was glad to see them get a result from what they put into it tonight."

Adam Kennedy homered for the Mariners, who took the lead in the 13th on Mike Wilson's first major league hit.

In the 10th inning, both dugouts cleared after Baltimore's Felix Pie and Seattle first baseman Justin Smoak exchanged heated words. Pie was angered by a hard tag by Smoak, who had to chase down Pie after the runner reversed direction while heading toward first.

"He kind of put his shoulder into (me), and I didn't like it too much," Smoak said. "So that was about it."

Said Pie: "I said 'What's wrong?' I did nothing wrong."

With runners on first and second in the 13th, Pie hit a wicked smash to second that bounced over the glove of Jack Wilson and into center, tying the game. One out later, Wieters delivered the game-winner.

Jeremy Accardo (2-0) got the win despite allowing a run in the top half of the 13th.

Called up from Triple-A Tacoma on Monday after the Mariners cut Milton Bradley, Wilson made his big league debut as a pinch hitter in the seventh inning. He was 0 for 3 before coming to the plate in the 13th following a leadoff double by Jack Wilson.

Mike Wilson hit a liner that glanced off the glove of Hardy at shortstop. Jack Wilson, who was running on the pitch, scored easily.

"It came at the perfect time, an RBI to give us the lead," Mike Wilson said of his milestone hit. "It couldn't have happened any better."

But the lead wouldn't last.

"It was a frustrating game," Seattle designated hitter Jack Cust said. "It seemed like we had it there a couple times and couldn't shut them down. Just one of those crazy games. That is what makes baseball so interesting."

The Orioles trailed in the eighth before scoring two runs off Jamey Wright, who came in with a 1.17 ERA.

Derrek Lee drew a leadoff walk and took second on a single by Vladimir Guerrero. Luke Scott followed with an RBI single, and Adam Jones capped the uprising with a run-scoring single up the middle.

For the second time in three innings, Baltimore couldn't hold the lead.

Michael Saunders led off the ninth with a single off closer Kevin Gregg and took second on a comebacker by Ichiro Suzuki. After Chone Figgins grounded out, Smoak hit a soft liner to left that dropped in front of Pie to make it 5-all.

In extra innings, Seattle missed a chance to take the lead in the 12th when Miguel Olivo was thrown out trying to score on a two-out double by Cust.

Seattle led 2-1 before Jones hit a two-run double in the sixth, providing the Orioles with their first lead in 40 innings. But Seattle promptly went back on top in the seventh against Mike Gonzalez.

Saunders launched the rally with a two-out single that ended an 0-for-26 skid. Suzuki beat out a bunt, and Figgins followed with an RBI double. After an intentional walk loaded the bases, Koji Uehara yielded an infield hit to Olivo.

Kennedy hit a two-run homer in the second inning off Jake Arrieta, Seattle's second home run in 10 games.

Hardy made it 2-1 in the third with his first homer as an Oriole. He was activated from the 15-day disabled list before the game after missing a month with a strained left oblique.

It was only the third homer allowed by rookie starter Michael Pineda in seven starts this season.

NOTES: To make room for Hardy, the Orioles designated RHP Josh Rupe for assignment. ... Baltimore's Brian Roberts went 0 for 5 and has just one hit in his last 31 at-bats.