A man spied on his partner in the shower through holes he had cut in the bathroom and toilet doors, a court has heard.
Stuart Alden, 32, had been married to the woman but the relationship worsened after the birth of a child.
Norwich Magistrates Court heard the victim no longer wanted sex but Alden continued to watch his partner while she showered through holes he had put in the bathroom and toilet doors.
Michael Devaney, prosecuting, said the victim "felt as if someone was watching" and could hear the "jangling" of chains, which her partner wore, outside.
The victim challenged Alden about it and told him she would go to the police which he told her to do so.
She did not go to the police but decided to "try and catch the defendant spying on her".
The court heard the victim herself set up a camera which captured Alden spying on her in the bathroom prompting her to go to the police.
Alden, of Jessopp Road, Norwich, was arrested and subsequently charged with observing a person doing a private act on May 17 last year.
The defendant appeared at court on Tuesday, March 23 when he admitted the offence.
A victim impact statement was read out in court describing how she felt "completely violated" and ashamed following the incident which has led to her feeling depressed.
She is now on medication as she suffers "constant anxiety and a feeling of being watched every day".
The victim said she also has to check bathroom and toilet doors, even at home, before she can use them.
Sentencing Alden to a 12 month community order made up of 100 hours unpaid work Adrian Greenwood, chair of the bench of magistrates, said the offending had caused the victim "deep anxiety".
He was ordered to pay the victim £250 in compensation, £145 costs and a £95 victim surcharge.
Alden was also put on the sex offenders register for five years.
Simon Nicholls, mitigating, said the defendant had been in a sexless relationship and rather than going off with other women had tried to accommodate his desires by doing what he did.
He said Alden has apologised for what he did and "knows it was inexcusable".
Comments: Our rules
We want our comments to be a lively and valuable part of our community - a place where readers can debate and engage with the most important local issues. The ability to comment on our stories is a privilege, not a right, however, and that privilege may be withdrawn if it is abused or misused.
Please report any comments that break our rules.
Read the rules here