HAMPTON, Va. (WAVY) — Hampton High School coaching legend Mike Smith is saying goodbye after 51 years, more than 500 career wins and 12 state championships.

Click here to subscribe to WAVY’s breaking news email alerts

Smith announced he was stepping away at a retirement party on Thursday alongside his family.

His 506 career wins are good for third-most all-time in high school football history. He got to 500 back in September when his Crabbers beat Menchville, 25-14.

Through it all, Smith says he tried to teach his players lessons that were bigger than football.

“I’ve always thought character, being a good teammate and being a positive citizen when you leave (Hampton),” Smith told WAVY in September. “If you can’t take some social values from football, then you’ve lost the meaning of it and I truly believe that.”

Steelers head coach Mike Tomlin, a Hampton native who graduated from Denbigh High in Newport News, congratulated Smith on Twitter.