RALEIGH, N.C. (WNCN) — Oberlin Magnet Middle School dismissed classes at 11 a.m. on Wednesday due to a gas leak.

“All students are safe,” a message to families said on the school’s website.

Just before noon, Dominion Energy confirmed the fuel line leak to CBS 17, saying that gas to the school was shut off entirely at 11:27 a.m. The school will be managing the repair and gas will be restored to the school once that’s happened.

For the early release, buses were scheduled to provide transportation home for students who ride by bus, and parents were able to pick up their students for rides out as usual.

School staff stayed with students at the school until arrangements have been made for everyone to get home safely, according to the school.

All afterschool activities are canceled for Wednesday.

A strong smell of gas was initially noticed in the building around 9:30 a.m.

“We made the decision to evacuate the building and the fire department is currently on site assessing the situation. Staff and students are waiting outdoors,” the message read.