Documents published by WikiLeaks show that Saudi students caught up in a cheating scandal at a Montana college were secretly offered flights home by the kingdom's diplomats to avoid possible arrest or deportation.

A senior official at the school involved confirmed the story to The Associated Press on Sunday.

The students were in a ring of roughly 30 alleged cheaters at Montana Tech accused of enlisting a college employee to systematically forge their grades in return for "gifts."

The cheating was first disclosed in 2012, but a Saudi Embassy memo now shows that officials booked flights for the students "so they don't face jail or deportation by the American authorities."

Montana Tech official Douglas Abbott told the AP that the college voluntarily disclosed the cheating ring and has acted transparently.