The child was reunited with her parents and the suspect was detained.

Police said the situation “could have been very tragic,” and added that the parents learned the hard way to never leave children alone inside a vehicle.

Police have not yet laid any charges in the case.