Right-hander Drew VerHagen and the St. Louis Cardinals agreed to a $5.5 million, two-year contract on Friday, one day after Major League Baseball and its players' union agreed on a collective bargaining agreement to end a lockout.

VerHagen gets $2.5 million this season and $3 million in 2023.