Changamwe Member of Parliament Omar Mwinyi has been sentenced to four years in prison.
Mwinyi was found guilty of assaulting two police officer during the Orange Democratic Movement (ODM) nomination in April 2017.
He is set to stay behind bars for the period unless he pays a Sh1 million fine.
Presiding over the ruling Mombasa chief magistrate Evans Makori said that it had been proven beyond reasonable doubt that Mwinyi and his supporters assaulted constables Dennis Nambisia and Agapio Ndwiga.
"Having carefully considered the evidence by the prosecution, I find the accused guilty as charged. It is clear the accused failed to restrain or stop his supporters from disrupting the polls therefore he is deemed to have participated in the fracas," Makori said.