Spirit Airlines apologized to the American public during a last minute bankruptcy hearing Tuesday morning just days after its shock shutdown.

The budget-friendly airline shut down with immediate effect Saturday, impacting thousands of passengers who became stranded and nearly as many employees.

Marshall Huebner, an attorney for the former airline, took the stand in front of Judge Sean H. Lane in a White Plains, New York, courtroom to discuss the hardship it encountered that led to its shutdown, including a dramatic rise in fuel prices resulting from the U.S. and Israel’s war with Iran.