The Prince George’s County Board of Education publicly thanked a county police officer Thursday for what members called his “extraordinary” response in apprehending a man suspected of trying to abduct a third grader walking to school.

A student arrived at James Ryder Randall Elementary School around 11:10 a.m. Monday and told officials that a man chased her and tried to grab her book bag, police said this week. The school called police, who began searching for the man.

When Officer Ariel Acosta heard about the attempted kidnapping, the description of the assailant sounded familiar. The details matched that of a man Acosta gave a ride home to nine months earlier, Acosta said. The six-year police veteran dug up notes from the trunk of his car, found the address and knocked on the man’s door and arrested him.

Anthony Donald Logan, 53, of Clinton, Md., has been charged with attempted kidnapping and second-degree assault, according to online court records.

“Your commitment, alertness and smart police work led to the arrest of this subject that tried to abduct one of our students,” said Board member Edward Burroughs (Dist. 8). “Your work restored confidence, safety and put the community at ease.”