PHILADELPHIA -- A man angry about a compromising Facebook photo of his girlfriend took revenge against the ex-boyfriend who posted it, making a hoax call to police that set off a terrorism scare and got the former beau taken off an airliner at gunpoint, authorities say.

The new boyfriend, Kenneth W. Smith Jr., was arrested Friday on charges of making a false threat to Philadelphia police, who recalled a Dallas-bound flight and marched the ex-beau, Christopher Shell, off the plane Thursday. The episode led to Shell's arrest on drug warrants after he finally reached Texas to celebrate his 29th birthday.

On Friday, both Shell and Smith posted bond.

Shell declined to comment. Smith's lawyer, Bill Brennan, described his client as "embarrassed" by the consequences of the alleged threat.

Passengers weren't happy about the scare that rerouted US Airways Flight 1267 on Thursday morning. They were about 90 miles into their trip when the aircraft turned around.

After landing at Philadelphia International Airport, heavily armed law enforcement officers boarded the plane and removed Shell. During questioning, he told authorities of the romantic feud, which involved hostile text messages with his ex and encounters with Smith, according to a federal affidavit.

Shell also gave officers the name of Smith's workplace. Authorities visited Smith, and he acknowledged calling airport police from a pay phone to say that Shell was carrying liquid explosives. Smith said he did it to "avenge" his new girlfriend, the affidavit said.

Smith, 26, of Philadelphia, was charged with conveying false information that interfered with aviation and using an instrument of commerce -- the phone -- to do so. If convicted, he faces a maximum sentence of 10 years in prison, a fine of up to $250,000 and possible restitution.

Father faces child abuse charges … Trump on trial … What's up on LI Credit: Newsday

Gilgo-related search expands ... Father faces child abuse charges ... Islip school threat ... Back to the future at these LI businesses

Father faces child abuse charges … Trump on trial … What's up on LI Credit: Newsday

Gilgo-related search expands ... Father faces child abuse charges ... Islip school threat ... Back to the future at these LI businesses

Latest videos

Newsday LogoSUBSCRIBEUnlimited Digital AccessOnly 25¢for 5 months
ACT NOWSALE ENDS SOON | CANCEL ANYTIME