A SEX offender who was prohibited by a court from looking through people's windows has been back in court after entering a woman's house uninvited.

The Leader reported earlier this year how Gabriel Olah, then of Fairfield Road in Queensferry, had been seen on CCTV footage performing a sex act on himself "outside a domestic property" when a party was happening inside.

District Judge Gwyn Jones told Wrexham Magistrates Court in March that the defendant "purposefully" carried out the sex act outside the residence and made him the subject of a seven-year sexual harm prevention order.

He was prohibited from undertaking a number of behaviours for the duration of that order, including; looking through any window of any private dwelling, entering or remaining on any premises that are not his own without the permission of the occupier (including the driveway and garden), approaching or seeking to approach any female or communicate any sexual remarks with a view to furthering sexual contact including gestures.

Olah, now aged 32 and of Church Street in Flint, appeared at Mold Magistrates Court on Thursday for sentence after being convicted of breaching a sexual risk order / risk of sexual harm order, which took place in Flint last month.

Justin Espie, prosecuting, told the court that the latest offence arose when a Flint woman was sitting in her living room watching TV and she saw a shadow at her window.

READ MORE: Post Office worker pocketed thousands of pounds in cash in bid to pay off debts

There was a ring at her front door and when she went to see who it was she found it open with a man standing there.

She told the man to shut the door, and he stepped in - closing it behind him.

The woman didn't understand what he was doing, as she hadn't asked him in.

He appeared to have been drinking and introduced himself as Gabriel.

He asked the woman if she was married, then asked if she was 'happily' married - to which she said she was.

He left, asking her not to call the police.

Mr Espie said the woman wasn't concerned initially, but she posted about the incident on Facebook to let other people know and was sent a news article about a male who was "sent to prison for looking in windows and doing lewd acts."

Ceri Lewis, defending, said Olah had been to a friend's house on the day of the offence and had consumed a large amount of alcohol.

Make sure you don't miss the top court stories of the week by signing up to our free court newsletter

The Leader:

He had become "disorientated" on his way home, she said, and approached the woman's property when he saw the light on.

She added: "He has very little recollection of the conversation, but he is extremely remorseful.

"He is aware it is a serious breach."

Ceri Lewis, chair of the bench, handed down a 26-week custodial sentence, but suspended it for 24 months.

Olah must complete the Horizons sex offender treatment programme and has been made subject to a 90-day alcohol abstinence monitoring requirement.

He must also pay £85 costs and a £154 victim surcharge.