Brian Hoyer has agreed upon a three-year contract with the New England Patriots.

Hoyer was released by the San Francisco 49ers following their trade with the Patriots for Jimmy Garoppolo.

Hoyer played for the Patriots between 2009 and 2011.

Hoyer has started 37 career games, which gives the Patriots an experienced option behind the 40-year-old Tom Brady.