The Ultra Music Festival will be returning to Miami next year, despite some accidents that had city officials questioning its safety last month. 

The Miami Herald says the city's commission passed a vote on Thursday to allow the electronic dance music festival to continue at its home in Bayfront Park.  The paper says one commissioner at the meeting brought some graphic photos from the weekend-long event to convince his fellow voters that Ultra is giving the city a bad reputation. 

Last month, Mayor Tomas Regalado expressed concern after a young female security guard ended up in critical condition when a crowd of gatecrashers trampled her under a fence.  A 21-year-old man died while attending as well. 

Organizers have agreed to beef up security and offer mental health and drug stations at next year's festivities.  Officials who voted to bring it back cited the economic boost the festival brings to the city each year. 

Photo Credit Getty Images