A flasher is back behind bars again after exposing himself near to where children were playing in a Blackburn street.
Paul Holt, 46, had been seen with his private parts on show and urinating against a door, a court heard
A shocked and distressed passer-by alerted police and Holt was later detained in a midnight arrest.
Burnley Crown Court heard how the defendant has 12 previous convictions for exposure, which started in 1984, and five for gross indecency.
He is subject to a restraining order, imposed in 2002 when he was locked up for 30 months for committing a sex act in front of a woman and her young daughter.
Under the indefinite order, Holt is banned from exposing himself and from being drunk in public and has now breached it five times.
The defendant had recently been bailed to a hostel in the town.
Holt, of Elizabeth Street, Accrington, admitted breaching the restraining order and was sent to prison for 14 months.
Judge Beverley Lunt told him he had a dreadful record.
She said: "You know these prohibitions, you have persistently flouted them, treated them with contempt and appeared before the court for breaching them.
"I have to protect the public from you and the only way I can is by taking you off the streets."
Ian Metcalfe, prosecuting, said in October 2002, the defendant was given the 30 month prison sentence at Liverpool Crown Court.
He had been convicted of gross indecency with a child and a public order offence.
On April 28 this year, Holt was seen exposing himself and urinating.
The passer-by was very concerned because young children were playing on the street.
Mr Metcalfe said the defendant was arrested just after midnight two days later.
His response to caution was: "Who grassed me up ?" and "I know what this is about."
He was questioned and said he had drunk two glasses of white cider.
The defendant told officers he had been at home and denied urinating in the street or exposing himself.
The prosecutor added Holt had flouted the restraining order in 2004, 2007 and 2008 and had been sent to custody each time.
Daniel King, counsel for the defence, said he had a number of serious limitations and inadequacies but that did not excuse either his criminal offending or his limited response to intervention from various agencies.
Holt suffered underlying psychological issues and would turn to alcohol to deal with them.
Mr King said the defendant had served a number of sentences behind bars but that it was not the case that jail held no fear for him.
Holt had kept out of trouble since 2008 and there was no evidence anybody else saw what he did or that any harm was caused, he said. Mr King added Holt stayed out of trouble when he was in a structured environment. He said: "Prison is dreadful for him. He does tend to go into segregation."