Qingpu district police have detained a man for dumping buckets of human waste in his former employer's office, police said Wednesday.

The company fired the suspect, surnamed Liang, from his security guard position in November over personal disputes he had with co-workers. Liang wanted to get back at the company because he was angry about the paltry severance compensation he received.

Liang dumped the feces on office's floors and hurled it on the walls and ceiling. He then called his manager and threatened to do it again. Police have taken Liang into custody.