PORTSMOUTH, N.H. – A Portsmouth woman whose two children were found wandering around town during a hot day last month has been charged with child endangerment.

Police say Mandy Adams was arrested earlier this week and charged with two misdemeanor counts. She is scheduled to appear in court on Aug. 29.

The boy and the girl, ages and 4 and 5, were found wandering alone on July 12. A worker in a dental office brought them inside to get out of the heat and called police.

Officers, with only first names as clues, spent nearly an hour tracking down their mother. She was looking for the children but had not called police.

The Portsmouth Herald reports that the 32-year-old Adams told police it was an accident that happened when a door was left unlocked.