A federal judge has dismissed a SpaceX challenge to a U.S. Air Force contract award, ruling that the government did not act improperly when it denied the Elon Musk-backed rocket company a share in a massive rocket development contract.

In October 2018, the Air Force awarded $2.2 billion to three candidates developing the next generation of rockets designed to carry military payloads into space. The service awarded $967 million to United Launch Alliance, a joint venture between Boeing (NYSE:BA) and Lockheed Martin (NYSE:LMT); $792 million to Northrop Grumman (NYSE:NOC); and $500 million to Jeff Bezos' Blue Origin.

A rocket blasting off into space.

Image source: Getty Images.

The government at the time said it expected to eventually select two providers of national-security space launch services, with a lucrative potential stream of defense contracts to the eventual winners.

SpaceX was left off the list, and the company in May 2019 sued the government claiming the contracting process was "opaque." The challenge was initially filed in the Court of Federal Claims, but was transferred to the U.S. District Court for the Central District of California in August 2019.

In a ruling made public late Friday, Judge Otis D. Wright II of the District Court found the Air Force was not guilty of any wrongdoing in its assessment of the bidders, including its conclusion that the SpaceX Starship rocket was more risky, and too expensive, to merit consideration.

Even with the ruling, all is not lost for SpaceX. The company earlier this year was named along with United Launch Alliance as the vendors to launch military payloads into space between 2022 and 2027. The companies beat out Northrop and Blue Origin for those awards, which could be for as many as 34 missions for the Pentagon and spy agencies.

Musk decided to continue to pursue the litigation even after that award, arguing that the missed development deal would cause substantial harm to his company by denying it funds needed to continue work on its Starship system.

In addition to military payloads, Starship is also central to a plan by Musk and SpaceX to eventually transport humans to Mars.

This article represents the opinion of the writer, who may disagree with the “official” recommendation position of a Motley Fool premium advisory service. We’re motley! Questioning an investing thesis -- even one of our own -- helps us all think critically about investing and make decisions that help us become smarter, happier, and richer.