Tom Brady has left New England, but one of his good friends is coming back.

The Patriots reached an agreement to sign veteran quarterback Brian Hoyer on Sunday, according to the Boston Globe, marking the return of Brady’s former backup. He will join a quarterbacks room that features Jarrett Stidham and Cody Kessler, with Stidham expected to have a chance to step into the major void left by Brady signing with the Buccaneers.

The 34-year-old Hoyer’s arrival likely takes the Patriots out of play for other experienced signal-callers that are on the market, including Cam Newton, Andy Dalton and Jameis Winston. The Patriots could also address the position in the draft, a year after taking the 23-year-old Stidham out of Auburn in the fourth round.

ESPN reported Hoyer would have an opportunity to compete to become Brady’s successor.

The Colts released Hoyer on Saturday after signing Philip Rivers, and it didn’t take long for him to come back to his old stomping grounds. This will be his third stint with the Patriots, the last one ending in training camp last year after Stidham beat him out for the backup job. Hoyer first joined the Patriots in 2009 and backed up Brady for three seasons.

Hoyer has also played for the Cardinals, Browns, Texans, Bears and 49ers, starting 38 of his 69 career games.