See more of the story

The Vikings have locked down their new veteran backup for starter Teddy Bridgewater.

Shortly after the start of free agency, the Vikings agreed to terms with 35-year-old quarterback Shaun Hill, according to a league source. Hill spent last season with the St. Louis Rams.

The Vikings were in need of a new backup after agreeing last week to trade Matt Cassel to the Bills. They zeroed in on Hill on Saturday, when teams were first allowed to speak with soon-to-be free agents from other teams, and finalized the deal a little bit ago.

It is a two-year contract worth $6.5 million, according to ESPN.

Hill was supposed to be the backup to Sam Bradford in St. Louis last season, but he ended up starting eight games after Bradford suffered a season-ending injury during the preseason. Hill threw eight touchdown passes and seven interceptions while going 3-5 as a starter.

Hill will return to Minnesota, where he began his career in 2002 as an undrafted free agent. He also has a history with offensive coordinator Norv Turner from their time together in San Francisco.

In 13 NFL seasons, mostly spent as a backup quarterback, Hill has completed 62.2 percent of his passes for 8,038 yards, 49 touchdowns and 30 interceptions. He has an 85.5 career passer rating.

The Vikings saved $1.5 million, added a draft pick and upgraded another by swapping Cassel out for Hill.

What's left to be done for the Vikings? Check out their to-do list in our free agency tracker.