TORONTO -- Jonathan Jennings threw two TD strikes and a two-point convert as the B.C. Lions took advantage of Toronto penalties and held on for a wild 27-25 road win over the Argos on Friday night to spoil Ricky Ray's 2015 starting debut.

B.C. (7-10) took sole possession of third in the West Division while eliminating the Winnipeg Blue Bombers (5-11) from playoff contention. The Montreal Alouettes (6-10) are also in the running for the crossover but if they lose Sunday in Edmonton the Lions will clinch the post-season berth.

Jennings now has 15 TD strikes in his six starts with the Lions, who finish their regular season next Saturday hosting Calgary (12-4).

Ray's first start of the season came before a Rogers Centre gathering of 14,236. That's a far cry from the 3,401 and 3,741 fans who watched Toronto's two home games at Tim Hortons Field.

Ray, in his 13th CFL season, spent the first half of the campaign recovering from off-season shoulder surgery before serving as Trevor Harris's backup. He finished 26-of-38 passing for 227 yards with a TD and interception.

The turning point came in the third quarter after Toronto went ahead 15-12 at 4:44 when Richie Leone gave up the safety. The Argos then proceeded to shoot themselves in the foot, being flagged eight times on B.C.'s next two scoring drives.

The Lions went ahead 18-15 at 9:08 when Jennings found Bryan Burnham on a three-yard touchdown pass before Harris scored on a one-yard run at 14:21, capping a drive that featured three penalties on the Argos (including two objectionable conducts) on one series. Then Jennings hit Burnham for the two-point convert, giving B.C. the 26-15 edge.

But following Leone's single, Toronto rallied to within 27-25 in a hectic fourth. Travis Hawkins returned a punt he blocked 33 yards for the TD at 4:47 before Jake Rogers made it a two-point game with a 25-yard field goal at 9:18.

Jennings drove B.C. to the Toronto 33 before Ricky Foley blocked Leone's 43-yard field goal try, giving the Argos possession at their 37-yard line. But Ryan Phillips ended Toronto's comeback, intercepting Ray with 19 seconds remaining.

Toronto (9-8) remains third in the East Division, two points behind the Hamilton Tiger-Cats (10-6) and Ottawa Redblacks (10-6), who meet Saturday at Tim Hortons Field before finishing the regular season at T.D. Place.

Toronto played just its fourth home game at Rogers Centre but first since a 35-27 loss to Hamilton on Sept. 11 -- a span of 49 days. The Argos were forced to play regularly scheduled home contests in Ottawa and Hamilton because the Blue Jays were in the American League playoffs.

The Pan Am Games and scheduling issues at Rogers Centre also forced Toronto to play its season-opening home contest versus Edmonton in Fort McMurray, Alta. The Argos won that contest, 26-11 on June 27.

Lavelle Hawkins had B.C.'s other touchdown while Burnham had a two-point convert. Leone added two field goals and a single but missed two converts.

Phil Bates scored Toronto's touchdown. Rogers booted two converts and three field goals but missed two others.

Ray's 24-yard TD strike to Bates at 14:09 of the second gave Toronto it's 13-12 half-time lead. Ray was impressive, going 3-of-3 for 60 yards on the drive.

A.J. Jefferson put Toronto in position for more, intercepting Jennings and returning it to the B.C. 32. But after a sack and incompletion, Rogers missed badly from 45 yards out as Marco Ianuzzi returned the ball to the Lions' eight-yard line with six seconds remaining.

Rogers was also wide from 49 yards out earlier in the frame.

Jennings hit Hawkins with a smart 43-yard TD pass at 5:45 of the first to open the scoring but Leone missed the convert.

Ray started slowly as Toronto's first two possessions failed to register a first down. But the veteran quarterback soon was more like his old self, going to seven different receivers in completing 18-of-22 passes for 182 yards despite being sacked four times.

Jennings was 12-of-17 passing for 154 yards with a TD and two interceptions. Hawkins had four catches for 93 yards for B.C., which also had three turnovers.