Maragua parliamentary candidate Sam Wairimu was Tuesday charged with sodomy and sexual assault in a Kandara court.
The independent candidate is alleged to have sodomised the victim in a room at Storm Pub Lodge in Kenol, Murang’a County, on July 14.
Mr Wairimu, 29, denied the charges.
Chief Magistrate Margaret Kurumbu freed the suspect on a Sh150,000 bond with a surety of the same amount.
By Tuesday evening, the accused had not raised the bond and was remanded at Thika GK Prison.
The case will be mentioned on August 10 and the hearing will be on October 17.
Mr Wairimu had earlier alleged that his ordeal resulted from political wars with his rivals, who he said were scared of his rising political star.
The aspirant said an unknown person broke into his hotel room and viciously clobbered him with a wooden bar that had nails on it.
He said neighbours who responded to his screams locked the hotel’s door from outside, locking him inside with his attacker as they called the police for help.