The Rockies and Royals have agreed to a trade that will send left-hander Jonathan Sanchez to Colorado for right-hander Jeremy Guthrie, Jon Paul Morosi of FOX Sports reports (on Twitter). Both players have struggled in 2012 and are on track to hit free agency after the season. The teams have confirmed the move.

Sanchez was recently designated for assignment following a short and disappointing stint in Kansas City. The Royals acquired him in an ill-fated offseason trade that sent Melky Cabrera to San Francisco. Sanchez posted a 7.76 ERA with 6.1 K/9 and 7.4 BB/9 in 53 1/3 innings for Kansas City, averaging less than 4.5 innings per start. He earns $5.6MM this year and will likely be in line for an incentive-based or minor league deal as a free agent unless he restores his value in hitter-friendly Coors Field.

Guthrie, 33, posted a 6.35 ERA with 4.5 K/9 and 3.1 BB/9 in Colorado. He allowed a league-leading 21 home runs in 90 2/3 innings. He earns $8.2MM this year.