Sami Osmakac, an alleged Islamic extremist, was charged with a plot to attack crowded locations in Tampa, Fla., according to authorities, reported The Associated Press.

Osmakac's targets allegedly included night clubs. His weapons of choice allegedly included explosives and assault rifles.

His plot was foiled by an undercover FBI agent from whom he bought the explosives and firearms. He was arrested on Saturday.

He told the undercover agent he wanted an AK-47 machine gun, an Uzi sub-machine gun and grenades, reported the Tampa Bay Times.

His plan was reportedly the following: set off a car bomb, conduct a follow-up attack using other weapons, take people hostage using an explosive belt he will wear and then detonate the explosive belt.

They can take me in five million pieces...We all have to die, so why not die the Islamic way? he reportedly told the undercover FBI agent.

Shortly before his arrest, Osmakac, 25, allegedly made a video to explain his motives for carrying out the attack.

Osamkac, born in Yugoslavia, is a naturalized U.S. citizen who lives in Pinellas Park, Fla, according to the Tampa Bay Times.

The perseverance and diligence of law enforcement caused this investigation to conclude in a successful manner. I would like to commend them for their hard work. This investigation was also predicated, in part, by assistance from the Muslim community. I would like to thank them as well, said U.S. Attorney Robert E. O'Neill of the Middle District of Florida, according to the Tamp Bay Times.

Back in September 2011, a confidential source told the FBI that Osmakac was seeking al-Qaeda flags, which may possibly be what O'Neill's assistance from the Muslim community comment was referencing.