SURPRISE, Ariz. (AP) — The Kansas City Royals signed veteran right-hander Ricky Nolasco to a minor league contract on Wednesday with an invitation to spring training.

He will get $1.5 million if he makes the major league roster and could earn another $250,000 in performances bonuses. He also can opt out of the contract on March 24 if he's not added to the 25-man big league roster.

Nolasco went 6-15 with a 4.92 ERA in 33 starts last season with the Los Angeles Angels. He has a career record of 114-118 with the Marlins, Angels, Dodgers and Twins in 330 career games, 312 of them starts, over 12 years.

Nolasco would add depth to a rotation that includes Danny Duffy, Ian Kennedy, Jason Hammel, Jakob Junis and Nathan Karns.