AUSTIN (KXAN) — A federal appeals court has sided with Texas and allowed the state to ban most abortions while under an emergency order limiting non-essential surgeries during the pandemic.

BACKGROUND: Is abortion an essential surgery?

On Tuesday, a panel of judges overturned a decision by a lower court that blocked the order.

The new ruling allows the ban to stay in place.

Governor Greg Abbott last month ordered hospitals to cancel non-essential surgeries to preserve space and supplies for coronavirus patients and doctors.

FULL COVERAGE: The latest coronavirus news in Austin, Texas, the United States and the world