You just bear-ly made it to class on time.
Students at a school in northeast Mexico received an unexpected guest when a black bear wandered through their campus on Thursday.
The four-legged creature was filmed pacing the hallways while classes were in session at the Himalaya International School in San Pedro Garza García, a municipality in the state of Nuevo León.
The small bear seemed lost while after it entered an area of the facility that is reserved for middle school students.
One of the classmates could be heard exclaiming, 'Oh my God,' as the alarm sounded in the background.
The bear later made a right turn at the end of the hallway and appeared to make eye contact with a security guard, who waved it away.
The bear then made another right and ran in the opposite direction before it abandoned the private school.
The Himalaya International School said sent an alert noticed to parents, indicating the incident 'was under control and all students and staff' were safe.
A small black bear was seen visiting the Himalaya International School in San Pedro Garza García, Mexico on Thursday, prompting officials to keep the students inside the classrooms until the four-legged creature left
Students were stunned by the presence of a black bear who wandered through the hallways of the Himalaya International School, which is located in the San Pedro Garza García, a city in the northeastern Mexican state of Nuevo León
Local outlets reported a second black bear was spotted Wednesday strolling around in San Pedro Garza García. Earlier during the week, three bears were spotted crawling on a street two miles and a half away in the municipality of Monterrey.
On November 2, a woman was attacked by a black bear while dining the Chipinque Hotel in San Pedro Garza García.
The bear was captured two days later and released into the wild, according to the Federal Attorney for Environmental Protection.
Black bears are considered an endangered species in Mexico and live in the northern mountainous region in the states of Coahuila, Chihuahua, Sonora, Zacatecas and Durango.
They are known for leaving their habitats due to droughts and the lack of food, and because parts of its habitat corridor have been urbanized over the years.
They are often seen in public, especially in the Monterrey metropolitan region, which is the second largest in Mexico with 5.2 million residents.
Residents and park visitors are warned not approach the bears and to refrain from bothering them – and includes also taking pictures. They are also advised to keep food away from the bear and not to leave trash around.
The Himalaya International School notified parents that their children and the staff was safe after a black bear entered the school grounds Thursday
A security guard keeps his distance from a small black bear while it paced through the hallways of a school in Mexico on Thursday