Mitchell Trubisky agrees to deal with Steelers in possible return to starting QB role

Mitchell Trubisky is getting another shot as an NFL starting quarterback.

The Pittsburgh Steelers agreed to a two-year contract Monday with Trubisky, NFL Network's Mike Garafolo reported. 

Trubisky later confirmed the news to ESPN's Jeremy Fowler.

"This was the best opportunity for me and my family ... the best way to get back on the field and try to win games ... You've gotta go out and earn it," he told Fowler.

Trubisky chose the Steelers rather than the New York Giants, he told Fowler.

Contracts cannot become official until the start of the new league year on Wednesday.

The agreement paves the way for Trubisky to become a starting quarterback again after the No. 2 pick in the 2017 NFL draft served as Josh Allen's backup for the Buffalo Bills last season. As the Chicago Bears' starter from 2017-20, Trubisky compiled a 29-21 record while throwing 64 touchdowns with 37 interceptions, but he was plagued by inconsistency.

TOM BRADY:Winners, losers of QB's decision to return to NFL, Buccaneers

NFL FREE AGENCY:Latest news on players, teams as tampering window opens

Buffalo Bills quarterback Mitchell Trubisky (10) smiles after a touchdown  against the Chicago Bears during the first half at Soldier Field.

In Pittsburgh, he would get the first crack at replacing Ben Roethlisberger, who retired in January after spending 18 years with the Steelers.

Steelers general manager Kevin Colbert said in February that a quarterback move would be forthcoming this offseason. He added that the team was "confident" in longtime backup Mason Rudolph as a potential starter.

Follow USA TODAY Sports' Michael Middlehurst-Schwartz on Twitter @MikeMSchwartz.