The deal sending A.J. Burnett from the New York Yankees to the Pittsburgh Pirates for two minor-leaguers is complete, according to league sources.

Burnett passed a physical and the commissioner's office signed off on the deal, sources said Sunday.

The Yankees get right-handed reliever Diego Moreno and outfielder Exicardo Cayones from the Pirates in return, sources said. Moreno, a 25-year-old from Venezuela, has split the past two seasons between the Class A and Double-A minor league teams. Cayones, who is 20, spent 2011 in Class A.