The officer also told Dakota they would always have his back.
The officers weren't just from Terre Haute, where Dakota's dad Rob Pitts was an officer.
Footage shows Dakota wearing his dad's badge around his neck as police line the street for the five-year-old as he returned to school. He and other officers approached Christopher Wolfe, 21, who died of a gunshot wound after barricading himself inside an apartment.
'Dakota asked his mom if one of his dad's friends could take him to school, so she kind of reached out to Rob's friends and family, ' said Les Ham, Terre Haute Police Department detective.
When he arrived at Sullivan Elementary, there were 70 IN police waiting outside to give Dakota his very own police escort to school.
Kelli Jones, Officer Pitts' sister, told WHTI-TV: "He will definitely know that his dad was a hero".More news: Jokanovic: Odoi deserves to be Fulham's hero
Pitts was a 16-year veteran of the Terre Haute Police Department.
He waves to someone off camera before he is presented with a shirt and badge from another Terre Haute police officer.
Rob, a 16-year veteran of the force, left behind a wife and his 5-year-old son, Dakota.
"Blood doesn't always make family and I think the blue family went above and beyond".
He was one of four officers who were fired upon in an exchange of gunfire between police and a homicide suspect on May 4, the Terre Haute Police Department said.