The Minnesota Vikings have agreed to a one-year deal with quarterback Sam Darnold, sources confirmed to ESPN.

The Vikings have an opening at quarterback after longtime franchise star Kirk Cousins agreed to terms on a four-year deal with the Atlanta Falcons on Monday.

After five seasons split between the New York Jets and Carolina Panthers, Darnold signed a one-year deal with the 49ers last offseason with the hope of learning from coach Kyle Shanahan and re-establishing his value as a potential starter.

2 Related

In San Francisco, Darnold won the No. 2 job behind starter Brock Purdy, which led to a preseason trade that sent quarterback Trey Lance to the Dallas Cowboys. Darnold appeared in 10 games, mostly in mop-up duty, throwing for 297 yards with 2 touchdowns and an interception.

Darnold started the Week 18 finale against the Los Angeles Rams after the Niners wrapped up the No. 1 seed in Week 17. He was 16-of-26 for 189 yards and a touchdown in a 21-20 loss.

Originally the No. 3 overall pick of the Jets in the 2018 NFL draft, Darnold spent three seasons in New York before being traded to Carolina in 2021.

NFL Network first reported Darnold's deal with the Vikings.

ESPN's Nick Wagoner contributed to this report.