BALTIMORE (WJZ) — The Ravens have announced a new four-year contract with Coach John Harbaugh.

The team tweeted the news Thursday afternoon.

“Done deal. We have reached a new four-year contract with Head Coach John Harbaugh,” the team tweeted.

Controversy around Harbaugh’s ability to lead the team came into question this season.

But after several wins with rookie quarterback Lamar Jackson, the Ravens said they would keep Harbaugh next season.

This means Harbaugh will be with the team through 2022.

Follow @WJZ on Twitter and like WJZ-TV | CBS Baltimore on Facebook