A Loudoun County physics teacher was charged Monday with drunk in public after school personnel became concerned by his behavior in class, Loudoun County Sheriff’s officials said.

Radhakrishnan Sivaramapillai, 46, of Centreville, resigned from his teaching position Tuesday, according to Wayde Byard, spokesman for Loudoun County Public Schools

Sivaramapillai had drawn the attention of fellow school personnel at J. Michael Lunsford Middle School in South Riding after he appeared to be intoxicated in class, according to Kraig Troxell, spokesman for the Loudoun County Sheriff’s Office.

Troxell declined to elaborate on Sivaramapillai’s behavior in the classroom.

The principal of the school spoke to Sivaramapillai before contacting authorities around 2:45 p.m. Monday, Troxell said.

  Sivaramapillai was found to be under the influence of alcohol, and was taken into custody and charged with drunk in public, according to the Loudoun Sheriff’s Office.

 Byard said “the rules regarding conduct on school property apply to both students and staff. This matter was handled in a manner consistent with all such incidents involving conduct in school.”

This post has been updated.