A man cleared of raping a woman has been ordered to give police 24 hours' notice before he has sex.
The man, in his 40s, who cannot be named for legal reasons, was acquitted in 2015 at a retrial after claiming the alleged victim had consented.
An interim sexual risk order, initially imposed in December, has been extended for four months by magistrates in York.
It requires the man disclose any planned sexual activity to the police or face up to five years in prison.
The order - which was drawn up by magistrates in Northallerton, North Yorkshire, and extended in York - reads: "You must disclose the details of any female including her name, address and date of birth.
"You must do this at least 24 hours prior to any sexual activity taking place."
It also contains restrictions on his use of the internet and mobile phone devices and requires him to inform officers of any change of address.
A further court hearing in May will decide whether the interim order should be made into a full order, which has a minimum duration of two years and can last indefinitely.
Sexual risk orders were introduced in England and Wales in March last year and can be applied to any individual who the police believe poses a risk of sexual harm, even if they have never been convicted of a crime.
They are civil orders imposed by magistrates at the request of police.