A federal judge in Las Vegas has issued an order barring Allegiant Air pilots from going on strike while mediation is under way in their labor dispute.

Judge Andrew Gordon ruled Friday that International Brotherhood of Teamsters Local 1224 can't strike in order to gain leverage over the airline while both sides are in mediation under federal law.

The union argued that it is allowed to strike because the company had not obeyed a court order to restore work rules in its pilot-labor contract.

Allegiant, which is based in Las Vegas, said in a statement that the order will prevent disruption of travel for thousands of passengers. The company said it will now spend its energy negotiating a contract that's beneficial to pilots and the company.

Messages were left Saturday seeking comment from the union and its attorneys.

Allegiant specializes in flying travelers from smaller cities to vacation destinations such as Las Vegas and Phoenix. It touts low base fares but charges for many extras including seat assignments and carry-on bags. It also offers packages that include hotel rooms and car rentals.

About 53 percent of Allegiant's employees are represented by unions, which is less than United, American and Southwest but more than Delta.

The airline is tiny compared with industry leaders such as American, Delta and United, but it is profitable.