A basketball and track coach at Richard Montgomery High School in Rockville was arrested Thursday and accused of having sex with a 16-year-old girl who had been his student and whom he coached in track, Montgomery County police said.

Scott D. Spear, 47, of the 1600 block of Auburn Avenue in Rockville was arrested at his home and charged with two counts of committing a fourth-degree sex offense, according to police. Spear is an eighth-grade history teacher at Julius West Middle School in Rockville and a high school coach, police said.

Spear had been the student’s track coach since 2009 and had been her teacher at Julius West. Police said that during the years Spear had been her coach, the two were “in constant contact” by cellphone during and after school and on the weekends.

Spear has taught since 1993 in Montgomery County public schools, said schools spokesman Dana Tofig. Tofig said Spear has been placed on administrative leave.

Parents of students on the track and basketball teams will receive individual calls notifying them about the arrest, and a recorded phone message and online newsletter will be available for the broader set of Julius West parents, Tofig said.

The arrest stems from incidents in April or May of 2011, when Spear contacted the student and asked whether she wanted to meet, police said. Police said she agreed, and Spear took her to a Rockville residence where they engaged in sexual intercourse. They returned to the residence again for sex on the next night, police said. 

In May or June, the girl confided to another person that she had had sex with an older man and in November identified the man as Spear to the same person, according to the police account.

Police received a report Jan. 27 about the alleged incidents from an “unnamed complainant” who contacted the department’s Family Crimes Division.