The video of a naughty boy getting stuck inside an elevator in China after urinating all over its buttons has gone viral.

The Ministry of Public Security shared footage, recorded in a building in southwest Chongqing, on the popular Sina Weibo microblog on Feb. 23, with the caption — "Please educate, and take good care of your children!"

In the video captured by a CCTV camera, copies of which has now been uploaded on YouTube, a young boy is seen entering an elevator. After carefully checking if he was alone, the boy proceeds to unzip his trousers and starts peeing.

Next, he takes a few steps forward to deliberately hit his intended target — the button panel of the elevator. After having doused the entire panel with urine, the boy steps back, zips his pants and waits for the elevator door to open.

The elevator door opens but shuts immediately, trapping the boy inside. The boy panics as the elevator starts behaving oddly. He jumps up and down and presses button on the freshly pee-drenched panel to no avail. The elevator door opens partially a second time before closing again and the lights on the button panel starts to flicker. Finally, the elevator shuts down and boy is plunged into darkness.

According to BBC, the boy’s actions caused the elevator to short circuit and it refused to function properly. The boy was subsequently rescued by maintenance staff of the building.

Since being shared on Weibo, it has been viewed over 12 million times and received over 20,000 comments. People’s reactions were mixed after watching the video. While some thought the young boy should not be chastised since he was just a kid, there were others who criticized his lack of parental control.

"Don't take this too seriously, he's just a kid," said one user. Another commented: "His guardian should pay compensation for the elevator breaking.”

However, the father of the boy has disputed the authenticity of the video.

"He [the father] says that his son cannot yet urinate that high, he doesn't believe it, and his son won't admit it, says he didn't do it,” a reporter who spoke with the father told Chinese media.