U.S. District Judge Mary Lou Robinson ordered the move Wednesday after a forensic psychologist emailed the court about the episode and the warden at the Fort Worth facility requested the extension. Osbon’s mental health evaluation will stretch another 30 days to Oct. 15. Federal prosecutors and Osbon’s lawyer all supported the decision.

Robinson found Osbon, 49, not guilty by reason of insanity this year on charges of interfering with a flight crew.

On March 27, a Las Vegas-bound JetBlue flight diverted to Rick Husband Amarillo International Airport after Osbon raced inside the cabin screaming about the Sept. 11, 2001, terrorist attacks and then pounded on the cockpit door. Passengers subdued him.

Osbon was the captain of the flight when it took off from New York. A co-pilot locked him out of the cockpit after he began rambling about religion, scolding air-traffic controllers and fumbling with cockpit monitors, finally declaring “things just don’t matter,” according to a federal affidavit.

None of the more than 140 people on board the airliner was seriously hurt.

JetBlue Airways suspended the 12-year veteran pilot the next day, and Osbon’s attorney, Dean Roper, notified the court in April that Obson would file an insanity defense.

A Lubbock grand jury indicted him that same month.

A JetBlue spokeswoman has said Osbon remains employed but inactive. He remains listed on the FAA’s pilot registry.