BALTIMORE (AP)Trey Mancini hit a game-winning single in a three-run ninth inning, and the Baltimore Orioles extended their season-high win streak to six games with a 5-4 victory over the Los Angeles Angels on Friday night.

Mike Trout and Shohei Ohtani both homered on the night they earned All-Star selections, with Ohtani’s 19th of the season giving the Angels a 4-2 lead in the ninth.

The Orioles rallied for their eighth walk-off win, second-most in the majors behind the Yankees’ 10.

”It was so exciting, one of the best wins I’ve been a part of in my time here,” Mancini said. ”It was great energy. The fans brought it all night and we fed off that, especially late. It was an amazing comeback for us.”

Raisel Iglesias (2-5) allowed a two-out RBI double to Adley Rutschman that cut the lead to 4-3. Cedric Mullins then tied the game with a run-scoring single and took second on the throw home.

Mancini then set off a raucous celebration with the sharp hit to left.

All of those hits were with two strikes.

”We had a never-die attitude in the dugout,” Orioles manager Brandon Hyde said. ”Guys were into it and it was fun to watch these guys come through. It’s the loudest dugout we’ve had since I’ve been here.”

Trout finished with three hits and stole his first base on the 11th anniversary of his major league debut. He will be making his 10th trip to the All-Star Game.

Ohtani also had three hits and earned his second selection as an All-Star.

Angels left-hander Reid Detmers was recalled from Triple-A Salt Lake to make the start after Michael Lorenzen was placed on the IL with a right shoulder strain. Detmers, who threw a no-hitter May 10 against Tampa Bay, threw six scoreless innings and allowed two singles with seven strikeouts and one walk.

Trout blasted a three-run shot over the left-field wall in the third off Tyler Wells that was reviewed by the crew chief and deemed fair.

”Right now, everyone is picking everyone up, whether it’s the offense or the pitching,” Wells said. ”It’s belief in your team. They picked me up multiple times this season.”

The Orioles cut the lead to 3-1 in the seventh on a run-scoring single by Ramon Urias off Jose Quijada, who then struck out Tyler Nevin, Robinson Chirinos and Rutschman to get out of a jam.

Mullins led off the eighth with a double off Ryan Tepera and scored on a single by Ryan Mountcastle that cut the lead to 3-2.

Ohtani made it 4-2 off Dylan Tate (1-3), who still picked up the win.

”Getting the extra run in the ninth was huge … two runs, we feel really good,” said Ray Montgomery, who was serving as acting manager while interim manager Phil Nevin concludes his suspension. ”I felt like we were in a good spot and just didn’t get it done.”

The Orioles have won six straight for the first time since 2020.

TRAINER’S ROOM

Angels: Lorenzen had an MRI that did not reveal any structural damage and he will continue to get treatment before beginning a throwing program.

Orioles: RHP Kyle Bradish (right shoulder) ??will pitch for Double-A Bowie on Saturday and then will have two or three more rehab starts.

UP NEXT??

Angels: LHP Patrick Sandoval (3-3, 3.09 ERA) has allowed three or fewer runs in 11 of 13 starts.

Orioles: ??RHP Dean Kremer (2-1, 2.48 ERA) had his scoreless inning streak snapped at 22 2/3 innings in his last start, which was the longest by an Orioles starter since Mike Mussina in 1995.

More AP MLB: https://apnews.com/hub/MLB and https://twitter.com/AP-Sports