In a blockbuster trade that could have significant implications league-wide and in Washington, the San Francisco 49ers on Monday agreed to send a second-round draft choice to the New England Patriots for their backup quarterback, Jimmy Garoppolo.

Garoppolo played well last season while Tom Brady was serving his four-game Deflategate suspension, and the Patriots held on to him last offseason despite apparent interest from several teams. But now they are parting with him on the eve of Tuesday’s NFL trade deadline.

The 49ers, winless in eight games this season, land a potential franchise quarterback for their new regime of Coach Kyle Shanahan and General Manager John Lynch. The trade likely takes the 49ers out of the running for one of the top quarterbacks in next year’s NFL draft and removes them from the potential bidding for Kirk Cousins, the twice-franchise-tagged quarterback of the Redskins who formerly played for Shanahan in Washington when Shanahan was offensive coordinator.

The trade agreement was confirmed by a person familiar with the deliberations after being first reported by ESPN.

Follow BDN Maine Sports on Facebook for the latest in Maine high school and college sports.