A former mayor has been sentenced to a Montgomery County penitentiary following a hearing Wednesday.