SAN DIEGO (AP) — Right-hander James Shields, who helped Kansas City reach the World Series last season, has agreed to a four-year contract with the San Diego Padres.

Shields is the latest addition by first-year general manager A.J. Preller, who in December added sluggers Matt Kemp, Justin Upton and Wil Myers, as well as Derek Norris and Will Middlebrooks.

Shields was traded from Tampa Bay to Kansas City two years ago in a deal in which Myers, then the Royals' top prospect, was acquired by the Rays.

Shields was 14-8 with a 3.21 ERA last season and declined a $15.3 million qualifying offer from the Royals. He lost both of his World Series starts, outdueled each time by Madison Bumgarner.

More From 600 ESPN El Paso