A mechanic accused of sabotaging an American Airlines jetliner had expressed a desire for Allah to hurt non-Muslims, stored violent Islamic State videos on his cellphone and has a brother in Iraq possibly involved with the extremist group, according to new evidence unveiled at his bail hearing.

U.S. Magistrate Judge Chris McAliley cited those revelations from prosecutors in ordering pretrial detention for Abdul-Majeed Marouf Ahmed Alani at the hearing in Miami federal court. Alani is accused of disabling a critical navigation component on the Boeing 737, which had 150 passengers and crew aboard.