Police in Uganda have arrested a man in connection to the murder of gay activist David Kato.

Nsubuga Enock was arrested on Wednesday, Reuters reported.

“The prime suspect, Nsubuga Enock, was arrested today at around 4PM when he went to visit his girlfriend,” Vincent Ssetake, a police spokesman, told the news agency.

“He has confessed to the murder. It wasn't a robbery and it wasn't because Kato was a [gay rights] activist. It was a personal disagreement but I can't say more than that.”

According to an unnamed police source who spoke to Ugandan's Daily Monitor, Kato's killer claims he turned on Kato because he was being forced to have sex.

“He told us that he killed Kato after he failed to give him a car, a house and money he promised as rewards for having sex with him,” the source said.

On January 24, Kato reportedly bailed the suspect out of jail, where he was being held on charges of theft of a mobile phone. Enock told police that the stayed with Kato for two days.

“The suspect said he left the bedroom, went to a store and picked a hammer, which he used to hit him [Kato] while he was still in bed,” the source added.

Kato died of his wounds on his way to the hospital.

Kato and his group, Sexual Minorities Ugandan (SMUg), had campaigned against a proposed anti-gay bill and had challenged a newspaper in court for publishing the personal details of leading gay rights advocates along with the banner, “Hang Them.” Friends told the BBC that Kato was concerned for his life.