A community is grieving the loss of their unofficial mascot today.

ER, a dog that showed up in the emergency room of Morristown-Hamblen Hospital more than ten years ago, passed away this week.

A crowd came out to pay their respects to the lab-mix who lived in the Sheriff's Department and roamed the halls of the justice center.

ER wore a deputy's badge on his collar and was the only dog except for service animals allowed inside the building.

"He made his rounds to the courthouse and he made his rounds out through the yard here with inmates accompanying him and lot of people don't understand about this, but ER was not just a dog. He was the Hamblen County Sherrif's Department mascot," said Sheriff Esco Jarnagin.

The sheriff's department had a funeral for ER this morning. They buried the dog in front of the justice center.