Red Sox GM Ben Cherington announced the signing of relief pitcher Edward Mujica to a two-year contract Saturday.

The deal is worth $9.5M over the two years, a baseball source told ESPNBoston.com on Thursday, when the agreement was first reported.

The 29-year-old Mujica was the closer for a time with the Cardinals this past season but lost the job in September and was not a factor in the postseason.