Police say a suspect has been charged following an attempted kidnapping on the St. John Fisher University campus on Wednesday.

According to court paperwork, Shalom Mathews, 19, of Brighton, was taken into custody on Thursday and charged with second-degree attempted kidnapping and first-degree attempted sex abuse.

The school went into lockdown around 7:30 p.m. Wednesday. Students and staff were asked to shelter in place after the sheriff's office received a report of an individual entering the School of Pharmacy building shortly before 5:30 p.m. and allegedly approaching an employee with a knife.

Court documents allege Mathews threatened the employee with the knife and attempted to abduct her and subject her to sexual contact. Investigators say the employee was able to safely disarm Mathews before he fled. Law enforcement recovered the knife at the scene, they say.

Deputies, K9 units, New York State Police and St. John Fisher University Security completed a thorough search of the campus and buildings, after which the lockdown was lifted.

According to the sheriff's office, Mathews admitted to the crime after being read his Miranda wrights when he was taken into custody on Thursday.

Mathews was arraigned in Pittsford Town Court and taken to the Monroe County Jail on $30,000 cash bail/$75,000 bond. Court documents show an order of protection has been filed on behalf of the victim.

Mathews is due back in court on March 5.