Three men have been arrested over a rave in a derelict office block.
The men were arrested after police disrupted the rave taking place in the abandoned Lloyds TSB building in The Causeway, in Worthing, on Saturday night.
Police attended the scene at around 10.30pm and detered people from entering the building.
A 23-year-old woman from Worthing and a 22-year-old man of no fixed address were arrested on suspicion of burglary other than dwelling and criminal damage.
An 18-year-old man from Goring-by-Sea was arrested on suspicion of burglary other than dwelling. All were later bailed until August 10.
Two generators and large amount of sound equipment were seized with assistance from West Sussex Fire and Rescue Service.
The equipment was being set up on the block's roof.
Inspector Allan Lowe said: "Early notification from a member of the public enabled us to move quickly to close down this rave, which would have caused significant disruption to the local community.
"What was particularly disturbing was that hundreds of people were being drawn to the rave in what would have been a very hazardous environment. There are ceilings falling down, wires sticking out, numerous trip hazards and no indication of the state of electricity or water supplies inside.
"The dangers were enough to prevent a full search of the building until daylight and the consequences of having several hundred people inside in the dark, under the influence of drink or drugs and with no safety or evacuation precautions, are extremely worrying at the very least."