The Orioles went from being no-hit to winning to losing the game on a walk-off home run by Carlos Beltran for the 5-3 win.

Early Hole - Mark Teixeira got the Yankees out to an early 1-0 lead with an RBI double in the first.

Run Erased - Brett Gardner flew out to Adam Jones in the second inning. Carlos Beltran decided to tag from third and test the throw to home.

Hitless Five - Hiroki Kuroda held the Orioles hitless for five innings to start the game Friday night.

Hits Start - Nick Hundley got the first hit for the Orioles in the top of the sixth. Steve Pearce and Adam Jones followed with RBI's to give the Orioles a 2-1 lead.

Battled For Five - Ubaldo Jimenez worked 5 2/3 innings against the Yankees on Friday night limiting them to just one run on six hits.

Pressure Situation - T.J. McFarland came in to pitch with the bases loaded in the bottom of the fifth with the Orioles holding on to a 2-1 lead. He would face Brett Gardner and escape the jam.

McFarland would retire every batter he would face in relief on Friday.

Another Big Hit - Steve Pearce continued to get big hits for the Orioles as he delivered an RBI single in the ninth to make it a 3-1 lead for Baltimore.

In The End - Zach Britton allowed an RBI single to Brian McCann to make it a 3-2 game. Then with two men on in the bottom of the ninth, Carlos Beltran ended the game with one swing.

Next WBAL Broadcast - Baltimore and New York play game two of their series on Saturday afternoon. First pitch is set for 1:05 with Joe Angel and Ben McDonald starting the broadcast at 12:40pm.

Follow me on Twitter @cdwill77

NEW YORK (AP) -- Carlos Beltran hit a three-run homer with two outs in the ninth inning Friday night, lifting the New York Yankees to a 5-3 victory over the Baltimore Orioles for their fourth straight win.

Beltran connected off Zach Britton (3-1) right afterBrian McCann hit an RBI single. The Yankees struggled with runners in scoring position until the ninth.

Brett Gardner led off the ninth with a single. AfterDerek Jeter struck out looking and Jacoby Ellsburyflied out, Mark Teixeira walked.

McCann then singled home a run, setting up Beltran's first walkoff homer since 2008, for the New York Mets.

Britton was already off the field by the time Beltran made it to home plate, where he was mobbed by his teammates in the Yankees' first win in their last at-bat this season.

David Huff (1-0) gave up Steve Pearce's RBI single in the ninth but got the win.