Four foreign nationals have sued the Osaka immigration bureau over the pain they say they suffered in 2018 for being locked up with 13 other detainees in a small room at its facility despite a major earthquake in the region, their lawyer said Friday.

In the suit filed with the Osaka District Court, the four from Nigeria, Pakistan and Peru are demanding some ¥3 million in total from the Osaka Regional Immigration Services Bureau after being confined for more than 24 hours in a 20-square-meter room intended to house up to six people, according to the lawyer.

While locked up from June 17, 2018, electricity was cut, and they were not given drinking water. They were not let out when a magnitude 6.1 earthquake hit Osaka and other parts of western Japan the following morning, according to the complaint.