A former state corrections officer from Hope Hull was sentenced Thursday to four and a half years in federal prison.