LAFAYETTE — Police said two men called in a bomb threat to a local private school Wednesday in the hopes of creating a diversion that would make it easier for them to rob a bank.

The plan failed after the Lafayette Police Department quickly traced the call back to a payphone outside of a gas station at St. Landry Street and University Avenue, said Cpl. Paul Mouton, spokesman for the department.

An officer in the immediate area spotted two men near the phone and detained them until officers identified the men using surveillance video at the gas station, Mouton said.

The bomb threat at Our Lady of Fatima Catholic School, 2315 Johnston St., was called in shortly before noon Friday, Mouton said.

The children were able to go back inside the school and continue with their day after the school was cleared, Mouton said.

Police arrested Michael Gott, 57, and Tony Younger Jr., 20, both of New Iberia, on one count each of conspiracy to commit robbery and communication of false information of planned bombing on school property, according to a news release.

The investigation remains ongoing, the release said.