MIAMI  (CBS13) — An airline mechanic from Tracy faces two decades in prison for sabotaging an airplane with more than 100 people on board.

On Wednesday, Abdul-Majeed Marouf Ahmed Alani, 60, pled guilty to the attempted destruction of an aircraft.

READ MORE: Homes Burned, Mandatory Evacuations Ordered As River Fire Explodes In Size Near Colfax

Prosecutors say he purposely disabled key components of a Boeing 737 in Miami on July 17 of this year. The plane was about to fly 150 people to the Bahamas, but the flight was aborted when pilots noticed alarms going off.

Before the flight took off, Alani inserted a foam substance into the air data module system and used super glue to hold it in place.

READ MORE: Search Continues For Driver Who Hit And Killed Caltrans Subcontractor On Highway 99

READ: Tracy Airline Mechanic Accused Of Sabotaging Flight Allegedly Spread ISIS Propaganda

After his arrest, Alani reportedly told investigators he was upset about contract talks between the airline and the mechanics union. Alani said he hoped “to cause a delay or have the flight canceled in anticipation of obtaining overtime work.”

MORE NEWS: Bicyclist Killed In Hit-And-Run In Modesto; Suspect's Vehicle Identified

Alani is set to be sentenced in March of 2020.