The Baltimore Ravens ended a three-game losing streak with a 34-17 win over the Dallas Cowboys in the NFL on Tuesday.

Lamar Jackson, back after recovering from coronavirus, led the Ravens to a much-needed win at M&T Bank Stadium as they improved to 7-5.

Baltimore had lost four of their previous five games, but boosted their playoff chances with a win in the rescheduled Week 13 encounter.

Jackson rushed for 94 yards and a touchdown, while completing 12 of 17 passes for 107 yards, two touchdowns and an interception.

Andy Dalton was 31 of 48 for 285 yards, two touchdowns and an interception, while Ezekiel Elliott had 77 yards on 18 carries, but the Cowboys fell to 3-9.

The Ravens, who recently dealt with a COVID-19 outbreak, saw Dez Bryant ruled out just before the game against his former team following a positive coronavirus test.

After Greg Zuerlein’s field goal for the Cowboys, Jackson put the Ravens on the board late in the first quarter, rushing 37 yards down the middle for the game’s opening TD.

That saw Jackson become the first player in NFL history with 5,000-plus passing yards and 2,500-plus rushing yards in his first three seasons, as per NFL Research.

Dalton and Michael Gallup combined to begin the second quarter and put the Cowboys back ahead, but the Ravens would score 20 unanswered points.

Jackson picked out Miles Boykin with a 38-yard TD pass and Justin Tucker’s 35-yard field goal made it 17-10.

Last year’s MVP, Jackson became the second QB in the Super Bowl era to have a 30-plus yard rushing touchdown and 30-plus yard passing touchdown in the first half of the same game, joining Tim Tebow (2010), as per Stats Perform.

A beautifully weighted 20-yard pass from Jackson found Marquise Brown to extend the Ravens’ lead in the third quarter.

The Ravens pushed clear as Zuerlein struggled, missing three field goals for the Cowboys.

Tucker’s 22-yarder extended Baltimore’s lead before Dalton found Amari Cooper, but the Ravens responded through J.K. Dobbins’ five-yard rushing TD to seal their win.