A spacecraft company run by billionaire Elon Musk has dropped a lawsuit alleging the U.S. Air Force improperly awarded a contract to launch military satellites to a joint venture between Boeing and Lockheed Martin.

Musk's SpaceX filed the lawsuit in the U.S. Court of Federal Claims in April after Boeing Co. and Lockheed Martin Corp. landed the lucrative deal through United Launch Alliance. Musk contended the Air Force set up a bidding process that gave ULA an unfair advantage.

In a joint statement late Friday, Space X and the Air Force said they reached an agreement that "improves the competitive landscape and achieves mission assurance for national security space launches."

Court records show former U.S. Attorney General John Ashcroft mediated the settlement talks.