The child was found by passersby who called police.
Police in Switzerland say that a mother left her 2-year-old boy inside a car as she partied in a nightclub.
Read: Mom Who Lost Unborn Child, Husband in Drunk-Driving Crash Shares Photos From Hospital, Scene
Passersby discovered the toddler crying and alone inside the parked car just after midnight Sunday in the town of Schaffhausen, and called police.
Once cops arrived, they say the boy’s 25-year-old mother was inside a nightclub partying with friends and co-workers. A photograph shared by police shows the boy inside the car, apparently crying.
Police called a mechanic to the parked car to pry the child out. Before the mechanic could arrive, the mother had left the club and saw what was happening, according to authorities.
Read: 4th Case of ODing Parents With Kid Nearby Is Latest Example of Heroin Plight Gripping America
The mother was confronted by police and faces charges of dereliction of the duty of care of her child in front of public prosecutors.
Watch: Toddler Who Survived Under Capsized Boat Reunites With Rescuers: 'You Saved Our World'