The Yankees and Pirates have agreed to a trade that sends right-hander A.J. Burnett to Pittsburgh.

The Yankees will receive two minor leaguers from Venezuela and the Pirates will pay $13 million of the $30.375 million remaining on Burnett's contract.

As of 4:45 p.m. yesterday, the deal hadn't been sent to Major League Baseball, which has to approve it because of the money involved. Commissioner Bud Selig was likely to do that last night or today. Burnett also has to pass a physical given by the Pirates.

Before the Yankees acquired Michael Pineda from the Mariners and signed Hiroki Kuroda, they let clubs know they were willing to trade Burnett.

The Pirates were interested from early December, but until they agreed yesterday to pay that $13 million, the deal didn't get done.

The Yankees didn't want to bring Burnett to the opening of spring training Monday with a possible trade hanging in the air.

Diego Moreno, a hard-throwing right-hander with control and command issues, and outfielder Exicardo Cayones will join the Yankees from the Pirates.

The $13 million to be paid by the Pirates more than offsets the $10 million given to Kuroda and will allow the Yankees to close deals with designated hitter Raul Ibanez and backup infielder Eric Chavez.

Moving Burnett reduces to six the number of starters competing for five rotation spots.