in 1978, baker ran for sheriff of wake county and won. he was repeatedly re-elected and held the position for 24 years. he instituted a way for incarcerated youth to continue their education, and was instrumental in founding the john h. baker charter school (which was named after him.)