Upshur county sheriff. As of the 2010 census, the population was 39,309.