SUISUN CITY (CBS13) — Suisun City Fire responders rescued an infant from a locked car on Thursday afternoon, the department said.

Just as a mother finished putting her one-year-old into her vehicle, the child was able to reach over and press the lock button, locking the mother out of the car.

READ MORE: Record-Breaking Temperatures Posted Around Sacramento Region Friday

ALSOClick Here For Our Coverage On PG&E’s Public Safety Power Shutoffs

READ MORE: Sacramento Mayor Joins Group Pushing For Reparations For Black Communities As Country Celebrates Juneteenth As Federal Holiday

Upon responding, Suisun City Fire was able to safely open the door without breaking the windows.

MORE NEWS: 'The Heat Is Unbearable': Friday Night Out Brings Sacramento Crowds Inside To Beat The Heat

The child was safely rescued and reunited with the mother.