BLOOMINGTON, Ill. (AP) — Officials at a zoo in Illinois had to euthanize a flamingo after it was struck by a rock that a child threw at it.

Director Jay Tetzloff told The Pantagraph in an email that a juvenile guest accidentally injured the bird on Monday by “skipping a rock into the habitat” at Miller Park Zoo in Bloomington.

Tetzloff says the rock broke the flamingo leg, and the staff determined the best course of action was to euthanize the bird.

Tetzloff says the zoo is working with the child’s family “to move forward.”

He says the zoo sees no need to change the layout.