A judge has refused to allow a Derry man accused of rioting to return to live at his home which is close to the scene of the disturbances.
43-year-old Seamus Bradley, from Moss Park, is charged with riotous behaviour, assaulting and resisting police and attempted criminal damage.
Mr Justice Weir said he had seen TV reports of several nights of trouble in the Galliagh area of the city.
He said it was clear that residents had had enough.
The judge said the 43-year-old would not be popular in the Galliagh area after recent disturbances.
A prosecution lawyer said police had been called to the Glengalliagh area in the early hours of last Friday to deal with reports of ongoing disturbances.
He said a crowd of between 40 and 50 people were throwing missiles at police and that the trouble, which went on for three consecutive nights, had stemmed from attempts to build a bonfire as part of an anti-internment demonstration.
The lawyer said Mr Bradley had been identified as a man who twice threw objects at police and after he was arrested he punched out at PSNI officers.
Mr Bradley told police he had been drinking and did not remember if he had done anything.
Police objected to bail saying tensions were still high in the area.
The judge said he would consider granting the accused bail if he could provide another address in the city.
He adjourned the hearing until Friday.