Five men have been charged after rowdy party guests allegedly pelted police with bottles in central Queensland.
Officers say they found out about an 18th birthday party on Adelaide Park Rd, Yeppoon, after it was advertised on social media.
About 11pm (AEST) on Friday, police were called to the home after reports of fights.
When officers arrived, there was a crowd of more than 500 people.
They allege partygoers began throwing bottles at them and the windscreen of a police car was smashed.
Officers were again pelted with bottles when they tried to get out of their cars.
Police had to remain at the home for about one and a half hours to bring the party under control.
Three men, aged 18, and a 19-year-old man have been charged with causing a public nuisance.
An 18-year-old man was charged with the common assault of an ambulance driver.