A gunman killed at least 49 people inside a gay nightclub in Orlando early Sunday morning. After holding hostages for hours, the gunman was killed by authorities in a shootout. More than 50 others were injured in the attack.
" >

The scene of the violence was Orlando’s Pulse nightclub, a popular gay nightspot where hundreds of people were partying to the theme, Latin night, early Sunday. Police said Mateen opened fire around 2 a.m., taking scores of club goers hostage just before closing time and just as people were downing their final drinks.

Mateen carried an AR-15 assault rifle and a 9mm semi-automatic handgun, police said.

Malcolm Barraza, of Kendall, said he was in Orlando for work and winding down his night of dancing at Club Pulse when gunfire erupted.

“It had a sound to it. You knew it,” Barraza told the Herald. “We heard the screams. Everybody ducked to the floor immediately and it was complete chaos at that point.”

The lights switched off, he said, and a bouncer knocked down a partition separating the club area from a space in the back where only employees were allowed — providing people inside with an escape route.

Just after 2 a.m., the club posted an ominous message on its Facebook page: “Everyone get out of pulse and keep running.”

Barraza and five of his friends managed to escape. “I ran to my car,” he said. “I had fabric in my car. I just started tying up all the wounded that I saw. People were being carried out bloody and everything.”

Paramedics and heavily armed police in tactical gear rushed to the nightclub. Mateen, the shooter, remained inside for hours until, just before 6 a.m., police teams stormed the club.

Eleven Orlando officers opened fire, along with three Orange County deputies. Mateen was killed in the intense firefight. One Orlando officer was shot in the head — his Kevlar helmet saved his life; the department later posted a photo of the bullet-scarred helmet on Twitter.

Dyer, the Orlando mayor, said in the fog of the attack’s aftermath officers mistakenly thought the gunman had strapped explosives to the dead victims and that the club was booby-trapped. A bomb robot sent back images of a battery part next to a body. The Associated Press reported that Dyer said that prevented paramedics from entering the club until it was determined the image was of something that fell out of an exit sign or a smoke detector.

The robot was sent in after SWAT team members put explosive charges on a wall and an armored vehicle knocked the wall down in an effort to rescue hostages.

The injured were rushed to hospitals throughout Orlando, where medical personnel worked frantically to help the critically wounded. Six trauma surgeons, including a pediatric specialist, were rushed to local hospitals as doctors called on people throughout Florida to donate blood.

“We have spent the morning operating on a number of victims,” Dr. Michael Cheatham of the Orlando Regional Medical Center told reporters. “We continue to operate on them.”

Of the 50 victims who died from the shooting, 39 were killed at the club and 11 people died at hospitals. One hospital patient was discharged, and all patients were identified.

As news spread of the carnage and the need to replenish blood supplies, thousands of people flocked to blood banks to either donate plasma or hand out water and supplies to those waiting in line.

Chris Brooks, 31, who grew up in Orlando, drove more than an hour from Merritt Island. He uses blood thinners, so he wasn’t sure if he could donate blood, so he was helping to pass out water and supplies.

“I feel that it’s my time to give something back to the world,” he said.

Ruth Schultz, a local business owner, didn’t even bother to put a closed sign on her boutique, Got Karma. Instead, she went straight to a local blood bank to donate blood.

“It’s a beautiful thing,” she said as she looked at about 1,000 people in line to donate blood. “It’s just a beautiful thing.”

Before noon Sunday, politicians on all sides —including presidential candidates Hillary Clinton and Donald Trump — had elevated the shooting into a campaign issue with statements and tweets.

“This was also an act of hate. The gunman attacked an LGBT nightclub during Pride Month,” Clinton said in a statement. “To the LGBT community: please know that you have millions of allies across our country. I am one of them.”

Trump, whose divisive campaign has been marked by harsh rhetoric about Muslims and Islamic extremism, patted himself on the back. He tweeted: “Appreciate the congrats for being right on radical Islamic terrorism, I don't want congrats, I want toughness & vigilance. We must be smart!

Meanwhile, leaders in religious and gay communities were urging calm.

“We are heartbroken. We are sad. It’s not time for sensationalized news, or a rush to judgment,” Imam Muhammad Musri, of the Islamic Society of Central Florida in Orlando, told reporters outside the crime scene. “We need to look at this issue of mass shooting because we have had one too many today.”

Equality Florida, the state’s lesbian, gay, bisexual and transgender civil rights organization set up a GoFundMe to support the victims of the shooting. In seven hours, more than 13,000 people had donated more than $500,000.

“We are heartbroken and angry that senseless violence has once again destroyed lives in our state and in our country,” organization officials said in a statement on the page.

The shooting came one day after another high-profile shooting in Orlando.

On Friday, YouTube sensation and former Voice contestant Christina Grimmie, 22, was shot and killed after her concert in Orlando by a 27-year-old St. Petersburg man who later killed himself. Police said they believed the shooter came specifically to attack Grimmie.

Herald staff writers Daniel Chang, Mary Ellen Klas, Emily Cochrane and McClatchy correspondent Hannah Allam contributed to this report.