The Transportation Security Administration has lifted its months-long in-cabin laptop ban, which has been relaxed in recent weeks as the mostly Middle Eastern airlines have boosted security in their home countries for flights bound for the United States.

In March 2017, the Trump administration imposed notable restrictions on laptops and other large electronic items larger than a smartphone against nine airlines in an attempt to mitigate the risk of terrorist attacks.

On Monday, a statement on the TSA website indicated that Saudi flights from Riyadh’s King Khalid International Airport would still be affected, but said on Twitter that flights from Jeddah are now clear.

2: Travelers from Jeddah are now allowed to bring devices in the cabin of US bound flights. — TSA (@TSA) July 17, 2017

However, TSA spokesman James Gregory told Reuters that American government officials would be visiting Riyadh to verify the new security measures are in place. Once that takes place, the laptop ban will formally end.

In a recent blog post, the head of the International Air Transport Association, Alexandre de Juniac, wrote that the air travel industry was concerned about severe economic consequences.

"That’s why we suggested alternative measures to the US DHS that would keep our passengers and crew secure while avoiding such severe economic consequences," he said. "The DHS announcement gave the industry a clear steer on what needs to be done. It also aligns with discussions taking place at ICAO as it develops the Global Aviation Security Plan. Already we have seen several airports meet the requirements and have the ban lifted. That’s all great news."