The Canadian National Exhibition closed about an hour earlier than scheduled Tuesday night due to safety concerns about the large number of people who showed up for Youth Day.

The CNE, which typically stays open until midnight, ended operations around 11 p.m. “after a positive response to today’s Youth Day,” which offered free entry to visitors 19 years old and under until 3 p.m., according to a statement posted on its website.

“This action is not due to any particular threat or incident, but simply to ensure the safety of our guests and to facilitate the exit of a large number of people,” the statement said.

A CNE media spokesperson said the crowd at the Ex on Tuesday night was estimated at some 20,000 more people than usual.

Toronto police said “large groups of youth” were at the Ex.

Police also received a call about a person with a gun earlier in the day, but did not locate any suspects or the callers when they arrived on scene. They said the early closure was not related to the gun call.

With files from Stephanie Werner