A Chinese man who detonated home-made explosives inside Shanghai’s international airport last year was sentenced on Friday to eight years in prison, a court in the city said.

Three people were injured in the June 12 attack at Pudong International Airport by Zhou Xingbai, who the court said had been struggling with personal and romantic problems.

shanghai airport bomb
This file photo taken on June 12, 2016 shows a paramilitary bomb disposal expert (background R) inspecting luggage left near a check-in counter after an explosion at Pudong Airport in Shanghai. File photo: AFP.

Zhou, who was 29 at the time of the attack, fashioned the makeshift bombs using fireworks and beer bottles.

The court statement said Zhou rolled three of them into a crowd before attempting suicide by slashing at his neck with a knife.

Two of the devices exploded, injuring several travellers and causing flight cancellations and delays.

Despite Zhou’s alleged personal problems, the court said a psychological evaluation found no signs of mental illness.

shanghai pudong airport
Shanghai Pudong Airport. Photo: Flickr/Kent Wang.

Originally from the southwestern province of Guizhou, Zhou had a high-school education and worked at various jobs before relocating in 2014 to Kunshan, a city near Shanghai, Chinese police have said.

Zhou’s punishment was severe because the incident occurred in a large public space, the court statement said.

In 2013, a wheelchair-bound man detonated a homemade bomb at Beijing international airport and was sentenced to six years in jail.

Agence France-Press (AFP) is "a leading global news agency providing fast, comprehensive and verified coverage of the events shaping our world and of the issues affecting our daily lives." HKFP relies on AFP, and its international bureaus, to cover topics we cannot. Read their Ethics Code here