A Washington, DC appeals court ruled Friday that the Federal Aviation Administration did not overstep its authority when it allowed airline passengers to use electronic devices during takeoff and landing.

The Association of Flight Attendants had challenged the change, suing Michael Huerta, the administrator of the FAA, along with that agency.

However, the United States Court of Appeals for the District of Columbia Circuit found that the FAA has always had the ability to change rules as it pleases. The FAA had determined that allowing phones, e-readers and other devices were within its purview.

Since allowing the first airlines to let passengers use personal electronic devices (PEDs) since October 2013, the FAA has authorized 31 airlines to do so in total.

As the court found: