Two Oregon college students have been accused of tricking Apple into sending them $1 million worth of iPhones.

According to a report from the Guardian, two Oregon students allegedly concocted a scheme that resulted in Apple sending them nearly $1 million in iPhones. The students allegedly sent Apple hundreds of counterfeit iPhones, telling the company that they were broken. Apple would then send back a legitimate replacement device.

The criminal complaint against students Yangyang Zhou and Quan Jiang provides details on how the scheme was operated. An investigation into the students revealed international transactions for devices that had been declared counterfeit by Apple.