NEW YORK (CBSNewYork) — A scary afternoon turned into a happy reunion for a little girl police say was accidentally dropped off at the wrong school Friday morning.

Three-year-old Candice Wright-White was dropped off by her grandmother at PS 316 at 750 Classon Ave. Friday morning, according to police.

Investigators say the school took her in, but soon realized Candice didn’t go there.

After what the NYPD says was an innocent misunderstanding, little Candice was finally reunited with her grandmother at the 77th Precinct in Crown Heights, Brooklyn shortly before 6 p.m.

“PS 316 followed protocol and notified NYPD of a child dropped off who was not enrolled at the school to ensure the child was safe,” the city’s Department of Education said in a statement sent to CBS2.