The St. Louis Cardinals and pitcher Adam Wainwright have agreed to $97.5 million, five-year contract that will run through 2018.

Wainwright became a free agent after the World Series. His new agreement sets him to make around $19.5 million for the next five seasons.

Last year, Wainwright was 14-13 with a 3.94 ERA after missing the 2011 Cardinals' World Series run because of elbow surgery.