HAVERHILL (CBS) — A fourth-grade student at a Haverhill elementary school was recognized by the Mass. State Police for her act of kindness towards a K9 on the force.

Back in August, the Silver Hill Elementary School was placed on lockdown while state police searched for a potientially armed suspect in the area.

READ MORE: Jury Selected In Trial Of Thomas Latanowich, Charged With Killing Yarmouth Police Sgt. Sean Gannon

Olivia with Trooper Thomas Janeczak and Tank (Photo Via Mass. State Police Facebook Page)

“The search ended when Trooper Thomas Janeczak of the MSP K9 Unit and his partner Tank located the suspect hiding in a shed,” said state police in a Facebook post. “Ms. Olivia Feil was so thankful that K9 Tank located the suspect and helped keep her school safe that she began to save her allowance each week in order to buy Tank some treats.”

READ MORE: 'This Is Temporary': Federal Eviction Moratorium Extended For Another 2 Months

Olivia with Trooper Janeczak and Tank, as well as with Lt. Patrick Silva, Trooper Brian Bonia, and Trooper Christopher Thurlow. (Photo Via Mass. State Police Facebook Page)

The nine-year-old was able to deliver the “treats and toys for a very good boy” to Tank last month.

MORE NEWS: New Quinnipiac Poll Shows President Biden's Job Approval Slip Over COVID Concerns

Treats from Olivia for K9 Tank (Photo Via Mass. State Police Facebook Page)

“The Department would like to thank Olivia and her family for their kindness and generosity. We — humans and dogs alike — are touched by their thoughtfulness,” said state police.