A jealous man accused of murdering his partner's ex-boyfriend suspected they were having an affair, a court has heard.

Twenty-nine-year-old Oskars Kantors allegedly told a witness that he had installed hidden cameras in his Leiston home after catching his girlfriend with 41-year-old Agris Leigavnieks, Ipswich Crown Court heard on Tuesday.

Kantors, of Old School Close, Leiston, has pleaded not guilty to murdering Mr Leigavnieks, who also lived in Old School Close, Leiston, on October 17 last year and an alternative charge of manslaughter.

The court has heard he has admitted two offences of assault causing actual bodily harm on a man and a woman on the same evening as the alleged murder.

Simon Spence KC, prosecuting, said that Mr Leigavnieks had previously been in a relationship with Kantors' girlfriend and on the night of the alleged murder the defendant and his partner had an argument after he had been drinking and went out with his half-brother to buy cat food but returned with alcohol.

During that evening Kantors had gone to a house in Leiston Court in the High Street and had repeatedly punched a man he knew in the face resulting in the police being called and the man being taken to hospital.

Kantors had then gone to a house in Old School Lane where a woman was bathing her baby and grabbed her by the hair before slamming her on to the floor, said Mr Spence.

Later the same evening, other residents of the shared accommodation in Old School Lane where Mr Leigavnieks lived went to his room and found him in a crouched position on the floor and described him as grey and barely breathing.

Mr Spence said Kantors had allegedly admitted stabbing Mr Leigavnieks to a neighbour who said he didn't appear to be concerned about what he'd done.

Kantors had also allegedly told another witness that he suspected his partner and Mr Leigavnieks of having an affair.

He allegedly said he had installed hidden cameras in his house after catching them together.

The trial continues.