A newspaper editor has been sentenced to nine years in jail for fomenting unrest after June’s disputed elections, his lawyer said on Wednesday.