By IAN HARRISON

TORONTO (AP) — Steven Matz pitched seven solid innings to win his fifth straight decision, Danny Jansen homered and drove in three runs, and the Toronto Blue Jays kept their playoff hopes alive by beating the Baltimore Orioles 6-4 Friday night.

The Orioles put a scare into the Blue Jays with a four-run eighth, but closer Jordan Romano limited the damage as he got the final five outs for his 23rd save in 24 chances.

READ MORE: Driver Trapped After Crash With Light Rail Train In Baltimore, Fire Union Says

Toronto (89-71) came in one game behind Boston and Seattle. Those teams were tied for the second wild card spot, two games behind the Yankees.

Jansen hit a two-run homer off Thomas Eshelman (0-3) in the third inning, his 10th, and Corey Dickerson added a solo shot off Brooks Kriske in Toronto’s four-run sixth.

The Blue Jays lead the majors with 253 homers this season, four shy of the club record set in 2010.

Dickerson’s blast was the first of five straight two-out hits by the Blue Jays. Santiago Espinal and Jansen hit back-to-back doubles, and Cavan Biggio singled and took second on a throw. George Springer followed with an infield single, and Biggio raced home ahead of second baseman Pat Valaika’s throw to give Springer his 500th career RBI.

Matz (14-7) allowed two runs and six hits, walked one and struck out five in his longest outing of the season. The left-hander is 5-0 with a 2.90 ERA in nine starts since his last loss, Aug. 10 against the Angels. Toronto turned double plays behind him in the third, fourth and fifth innings.

Kelvin Gutierrez spoiled Matz’s shutout bid with a leadoff homer in the eighth. After Tyler Nevin, walked on a 3-2 pitch, Matz left to a standing ovation from the crowd of 28,855.

READ MORE: Turgeon Still Hoping For Long Postseason Run At Maryland

Valaika greeted reliever Adam Cimber with a two-run homer, cutting it to 6-3. Richie Martin grounded out, Cedric Mullins was hit by a pitch, and Cimber left after Ryan Mountcastle singled.

Romano came on and got Austin Hays to ground into a fielder’s choice. Trey Mancini followed with an RBI single and Pedro Severino walked to load the bases before Gutierrez grounded into a fielder’s choice.

ROSTER MOVES

Baltimore recalled RHP Isaac Mattson from Triple-A Norfolk and optioned LHP Alexander Wells, who made his final start of the season in Thursday’s win over Boston.

UP NEXT

Blue Jays RHP Alek Manoah (8-2, 3.35 ERA) faces Orioles LHP John Means (6-8, 3.32) on Saturday. Manoah is 3-0 with a 1.83 ERA in his past three starts.

MORE NEWS: Baltimore's Mark Andrews Among The NFL's Elite Tight Ends

(© Copyright 2021 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)