A 2-year-old girl who wandered away from her family on Saturday at Prospect Park in Brooklyn was found dead after an hourslong search, the police said.

The girl, Ruhshona Kurbonova, was discovered at about 6 p.m. by police divers in the park’s lake, near the boathouse, where she had apparently drowned, said Detective Michael DeBonis of the New York Police Department.

She was unresponsive when she was pulled from the lake, the police said, and she was pronounced dead at the scene. The girl and a 3-year-old boy, a relative, had been at a family gathering and were reported missing shortly after 1 p.m., Detective DeBonis said. The boy was soon found safe.

No family members at their apartment in Brooklyn were willing to comment on Saturday night. The building’s superintendent, Zada Bacaj, said that Ruhshona came from a hard-working and watchful family, and that her parents immigrated from Uzbekistan.