Emirates and Turkish Airlines said on Wednesday that they were the latest carriers to have been exempted from an American ban on laptops and other electronic devices in the passenger cabins of flights from eight predominantly Muslim countries.

The restrictions were introduced in March after intelligence reports suggested that Islamic State militants were developing explosives that could be hidden in the batteries that power portable electronics, including laptops, iPads and other devices larger than cellphones.

The lifting of the laptop ban for some airlines coincided with President Trump’s efforts to bar all visitors from countries he views as a threat. In late June, the Supreme Court cleared the way for the Trump administration to enforce a limited travel ban for six predominantly Muslim countries while the court reviews the case. The United Arab Emirates and Turkey are not among the countries affected by the order.

The announcements from Emirates, which is based in Dubai, and Turkish Airlines, based in Istanbul, came after the Transportation Security Administration said on Sunday that Etihad Airlines had been approved after introducing more rigorous screening procedures at its base, Abu Dhabi International Airport.