Police have been given stop and search powers in certain areas of Edinburgh during a Bonfire Night which has seen fireworks thrown at officers.
The force warned those suspected of planning firework-related anti-social behaviour in the Gracemount, Moredun and Niddrie areas would be searched after receiving “intelligence” of potential trouble.
Fireworks were thrown at riot police gathered in the Gilmerton area of Edinburgh.
Scottish Secretary Ian Murray, who is also MP for Edinburgh South, described the scenes as “disgraceful and unacceptable”.
He added: “We must stop the sale of fireworks to those who wish to use this time of year to cause havoc on our streets.”
Bus operator Lothian withdrew services from Niddrie at about 17:00 as a “preventative measure”, while police blocked off Niddrie Mains Road following reports of youths throwing fireworks at officers.
The area was where an officer was injured and buses were damaged by pyrotechnics on Halloween night.
Control zones banning the use of fireworks in certain areas of the city are in place until 10 November for the first time.
Police used several vans to block Niddrie Mains Road between Duddingston Road West and Duddingston Park South and the public were asked to avoid the area.
A police helicopter was also brought in to assist with the operation.
A spokesman said: “We are utilising air support in Edinburgh as part of Operation Moonbeam.
“The helicopter is just one of the specialist resources supporting local policing teams in keeping people safe and responding to firework offences.”
The force asked the public to continue reporting any incidents.
Buses were also diverted in Gilmerton and in Musselburgh, East Lothian, between Pinkie Road and Newbigging due to what the operator called anti-social behaviour.
The transport operator said it had taken the “difficult decision” to divert services away from Niddrie on Tuesday evening due to “circumstances outwith their control”.
There was a significant police presence on the streets throughout the evening, with vans and other vehicles parked near to previously problematic streets.
Officers are allowed to search those they believe to be under “reasonable suspicion” of committing a crime, planning to commit a crime or in possession of a “prohibited article” under section 60 of the Criminal Justice and Public Order Act 1994.
Elsewhere, a car was hit by a firework in Pollokshields in Glasgow. The area was intended to be covered by a fireworks ban but it was was delayed until next year due to a council error.
Police Scotland said a 25-year-old man was arrested and a “significant quantity” of fireworks seized after a search of a van in the Drumchapel area of Glasgow.
The force said the fireworks were being sold the general public, including to under-age children.
One police officer was taken to hospital when the window of a police vehicle she was sitting in was shattered in the Hay Avenue area.
Police also responded to incidents at Moredunvale Road, Southhouse Road, Captain’s Road and West Pilton Park on 31 October.