A TSA screener resigned and then decided to get stupid.

After Onuoha resigned the position he had held as a Transportation Security Administration screener since 2006 on Tuesday morning, he then returned a few hours later to the TSA’s LAX headquarters with a sealed express-mail envelope addressed to the screening manager, according to an affidavit filed in federal court and written by FBI Special Agent David Gates.

Shortly thereafter, Onuoha called a TSA terminal checkpoint to say the manager should open the package immediately — and that authorities should begin evacuating two airport terminals immediately, Gates wrote. Onuoha said he would be watching to ensure the terminals were evacuated, authorities said.

A bomb squad responded and cleared the package Onuoha had allegedly left. It contained an eight-page letter titled “The End of America, The End of satan, we were not defeated” that detailed Onuoha’s thoughts on a suspension he faced in July over a confrontation with a 15-year-old girl regarding her apparel, the affidavit stated.

Just after the package was cleared, Onuoha called his manager, again warning that three airport terminals needed to be evacuated, Gates wrote in the affidavit.

He also allegedly called LAX police to urge evacuation, saying he was “going to deliver a message to America and the whole world,” the affidavit stated.

And apparently he was supposedly suspended last summer for inappropriate remarks to a 15-year-old girl.