NEW DEAL, Texas — A Bayer facility near New Deal was on lockdown for hours Thursday morning after an escaped inmate hid in one of the buildings, according to a statement.

Gary Darnell, 48, was arrested and taken into custody at approximately 9:50 a.m., according to the Lubbock County Sheriff’s Office.

Bayer said around 5:30 a.m., employees at the Bayer Crop Center noticed an intruder, later identified as Darnell, on the property and notified law enforcement.

Darnell ran into one of the buildings as soon as law enforcement arrived, Bayer said.

Around 40 Bayer employees were on site at the time, and the facility went on lockdown as police searched for Darnell.

“We appreciate the rapid response of law enforcement, and are grateful the situation has come to a peaceful conclusion,” Bayer said. “We will be providing Bayer team members with support and counseling in the coming days.”

Read the full statement by Bayer below:

At about 5:30 this morning, Bayer team members at our facility between Lubbock and New Deal observed an intruder on our property. They notified the police. This individual then quickly ran into one of the buildings as soon as police arrived.

At the time, about 40 Bayer team members were on site working, so we immediately went on lockdown as police searched for the individual. Our team remained on lockdown until shortly before 10 a.m. this morning, when police apprehended the intruder.

Fortunately, no one was hurt or injured.

The safety of our employees, colleagues, and the communities where we live and work is most important to Bayer.

We appreciate the rapid response of law enforcement, and are grateful the situation has come to a peaceful conclusion. We will be providing Bayer team members with support and counseling in the coming days.

Thank you to the Lubbock County Sheriff’s Office and other first responders.