Two Shanghai-based private investigators with links to U.K. drugmaker GlaxoSmithKline Plc. have been convicted for buying and selling personal information about Chinese citizens, an act which was criminalized in China five years ago.

Prosecutors at Shanghai No. 1 Intermediate People’s Court had accused British national Peter Humphrey and his Chinese-born American wife, Yu Yingzeng, of illegally obtaining over 250 records that contained the personal household, mobile phone and vehicle records of Chinese citizens to use in their investigations and later selling that information to clients.