A 54-year-old man has served a day in court cells in Surrey as punishment for breaching his anti-social behaviour order (Asbo).
Raymond Woods, of no fixed address, is banned from entering Godalming town centre but was charged by police after he was seen in the town on Saturday.
Woods admitted the breach before magistrates in Guildford on Tuesday.
Under his Asbo, he is also banned from entering any church or place of worship in England and Wales.
Surrey Police arrested him after he was seen walking through a car park in The Burys on Saturday evening.
Woods was given a four-year Asbo in 2008 following public order offences in the town. The order remains in place until 13 November 2012.
A the time, Surrey Police said Woods stole money and other items, caused criminal damage and intimidated parishioners in Godalming.
Under the order, he was allowed in church to attend a service, or by official invitation from a church representative.
Officers said he had been abusive to the public, intimidated shopkeepers and targeted people in the doctor's surgery, supermarket, bank and railway station.
In 2009, Woods served a 12-week jail term for four breaches of his Asbo.
That year, he was arrested after police were called to Lloyds TSB following reports he was drunk and asleep in the lobby.