A JetBlue Airways pilot who disrupted a flight by yelling about terrorists and running through the aisles of the plane can be free.

A federal judge in Amarillo made the ruling Friday months after pilot Clayton Osbon was found not guilty by reason of insanity for his erratic behavior which forced the March 27th flight from New York to Las Vegas to emergency land at Amarillo. Osbon was charged with interference of a flight crew.

During the trial, a neuropsychologist testified in July that Osbon had a "psychotic disorder" brought on by lack of sleep. Osbon had another psychotic episode in August while in prison when he was in for a mental evaluation, which was ordered by U.S. District Judge Mary Lou Robinson.

Judge Robinson extended the evaluation before issuing her latest ruling.