After a two-year absence, Kris Medlen is returning to the Braves, albeit on a minor league deal.

The right-handed pitcher has inked a contract with Atlanta that does not include an invitation to spring training. The deal was first reported by the Atlanta Journal-Constitution’s David O’Brien.

Medlen, 31, had spent 2015 and ’16 seasons with the Royals, making 21 appearances and 14 starts and last year opened six games with a 7.77 ERA in a season cut short by a shoulder injury.

He had a player option for the 2017, which the Royals declined.

Drafted by the Braves in the 10th round in 2006, Medlen broke out in 2012, transitioning from a reliever into a mid-season starter.