Image copyright Getty Images Image caption The restaurant is located at the top of the Westin Peachtree Plaza Hotel in Atlanta

A five-year-old boy has died after his head got lodged between a wall and a table fixed to a slow-moving floor of a restaurant in Atlanta, police officials said.

The child was critically injured in the incident and later died in hospital.

The freak accident happened at 15:00 local time (19:00 GMT) on Friday.

The Sun Dial restaurant, where the incident took place, has reportedly been closed until further notice.

According to a statement from Atlanta police, the restaurant's revolving floor automatically stopped moving when the child became stuck on Friday.

Employees managed to dislodge the boy, who suffered crushing injuries to his head and brain, according to a report by the Fulton county medical examiner.

"The kid was just wandering as kids will do. Somehow he found himself in a critical situation where he's lodged in between the rotating floor and the wall," police spokesman Warren Pickard told reporters on Saturday.

The boy's death has been ruled accidental.

The restaurant is located at the top of the Westin Hotel, an Atlanta attraction that offers a 360-degree view of the city.