ORLANDO, Fla. (AP) - Here is what we know about the deadliest mass shooting in U.S. history:
MASS CASUALTIES: Forty-seven victims of a mass shooting at a nightclub in Orlando have been identified.
THE SHOOTER: Authorities have identified the shooter as 29-year-old Omar Mateen of Port St. Lucie, Florida. They say that conversations he had with police in a 911 call the night of the shooting involved the Islamic State. They say he was a U.S. citizen and was not under surveillance. In 2014, they discovered he had ties to an American suicide bomber, but they were minimal, and he didn't constitute a threat at the time. They say he also made inflammatory comments to co-workers in 2013. Ronald Hopper of the FBI says Mateen legally purchased at least two firearms within the last week or so. Mateen's father, Mir Seddique, said his son got angry when he saw two men kissing in Miami a couple of months ago. He said that might be related to the attack. Seddique said the attack had nothing to do with religion. Mateen's ex-wife said his family was from Afghanistan, but that he was born in New York.
MORE ON THE SHOOTER: Security company G4S said in a statement to the Palm Beach Post that he had been an employee of the company since September 10, 2007.
ACT OF TERROR?: Orange County Sheriff Jerry Demings called the attack a "domestic terror incident." Other authorities said they are looking into whether the attack was an act of domestic or international terror, and if the shooter acted alone. FBI agent Ron Hopper said there was no further threat to Orlando or the surrounding area. When asked if the gunman had a connection to radical Islamic terrorism, Hopper said authorities had "suggestions that individual has leanings toward that."
WHAT HAPPENED: Police say Mateen, equipped with an assault rifle and a handgun, opened fire on patrons early Sunday. He also exchanged fire with an officer working at the club about 2 a.m., when more than 300 people were inside. Police say the gunman then went back inside and took hostages. Police sent in a SWAT team to rescue hostages about 5 a.m. and Mateen died in an exchange of gunfire with SWAT officers.
THE VICTIMS: The city of Orlando is publishing the names of those killed on its website after their families have been contacted. Click here for the latest names to be added.
SECOND DEADLY SHOOTING IN TWO DAYS: The attack follows the fatal shooting late Friday of 22-year-old singer Christina Grimmie, who was killed after her concert in Orlando by a 27-year-old Florida man who later killed himself. Grimmie was a YouTube sensation and former contestant on "The Voice."
Click here: Massacre spurs grief, fear for LGBT Americans
Click here: Obama decries Orlando shooting as an 'act of terror'
Click here: Philadelphia Gay Pride events happening.
Click here: Pope Francis is expressing the "deepest feelings of horror and condemnation."
Click here: FBI says gunman had made inflammatory comments to coworkers, alleging possible terror ties.
Click here: Clinton, Trump, others react to tragedy.
Click here: Man with guns arrested after West Hollywood street festival.
Click here: Details on suspect Omar Mateen, 29.
Click here: Timeline on the Orlando nightclub shootings.
Click here: LGBT Center of Central Florida executive director speaks.
Click here: Some of the nation's deadliest rampages since 2012.
Click here: Reaction to the mass shooting from the sports world and around the world.
A gunman wielding an assault-type rifle and a handgun opened fire inside a crowded gay nightclub early Sunday, killing at least 50 people before dying in a gunfight with SWAT officers, police said. It was the deadliest mass shooting in U.S. history.
Authorities were investigating the attack on the Florida dance club as an act of terrorism. The gunman's father recalled that his son recently got angry when he saw two men kissing in Miami and said that might be related to the assault.
Multiple news outlets reported that the shooter had called 911 shortly before the attack and pledged allegiance to the Islamic State. Those reports cited unnamed law enforcement officials.
At least 53 people were hospitalized, most in critical condition, officials said. A surgeon at Orlando Regional Medical Center said the death toll was likely to climb.
"There's blood everywhere," Orlando Mayor Buddy Dyer said.
All of the dead were killed with the assault rifle, according to Rep. Alan Grayson, a Florida Democrat.
Witnesses described a chaotic scene when the gunfire began shortly before the club known as Pulse was to close.
"Some guy walked in and started shooting everybody. He had an automatic rifle, so nobody stood a chance," said Jackie Smith, who had two friends next to her get shot. "I just tried to get out of there."
The suspect was identified as Omar Mateen, a 29-year-old American citizen from Port St. Lucie, Florida, who had worked as a security guard.
Mateen purchased at least two firearms legally within the last week or so, according to FBI agent Ronald Hopper.
The suspect exchanged gunfire with 14 police officers at the club, which had more than 300 people inside.
At one point, he took hostages, Police Chief John Mina said. Around 5 a.m., authorities sent in a SWAT team to rescue the hostages.
Pulse posted on its own Facebook page around 2 a.m.: "Everyone get out of Pulse and keep running." Just before 6 a.m., the club posted an update: "As soon as we have any information, we will update everyone. Please keep everyone in your prayers as we work through this tragic event. Thank you for your thoughts and love."
In addition to the assault rifle, the shooter also had some sort of "suspicious device," the police chief said.
In the immediate aftermath of the attack, police departments across the country stepped up patrols in neighborhoods frequented by the LGBT community.
Authorities were looking into whether the attack was an act of domestic or international terrorism, and if the shooter acted alone, according to Danny Banks, an agent with the Florida Department of Law Enforcement.
"This is an incident, as I see it, that we certainly classify as domestic terror incident," Orange County Sheriff Jerry Demings said.
The previous deadliest mass shooting in the U.S. was the 2007 attack at Virginia Tech, where a student killed 32 people before killing himself.
Mateen's father, Mir Seddique, told NBC News about his son seeing the men kissing a couple of months ago.
"We are saying we are apologizing for the whole incident," Seddique said. "We are in shock like the whole country."
A federal law enforcement official with knowledge of the investigation said Mateen was known to the FBI before the nightclub attack and had been looked at by agents within the last few years. The official was not authorized to discuss the investigation publicly and spoke on condition of anonymity.
The matter for which he came under investigation was "open and closed pretty quickly," the official said.
When asked if the gunman had a connection to radical Islamic terrorism, Hopper said authorities had "suggestions that individual has leanings towards that."
Mateen's father said the attack had nothing to do with religion, he said.
The gunman was a security guard with a company called G4S. In a 2012 newsletter, the firm identified him as working in West Palm Beach.
In a statement sent Sunday to the Palm Beach Post, the security company confirmed that he had been an employee since September 2007.
State records show that Mateen had held a firearms license since at least 2011. It was set to expire in 2017.
President Barack Obama called the shooting an "act of terror" and an "act of hate" targeting a place of "solidarity and empowerment" for gays and lesbians. He urged Americans to decide whether this is the kind of "country we want to be."
Authorities said they had secured a van owned by the suspect outside the club. Meanwhile, a SWAT truck and a bomb-disposal unit were on the scene of an address associated with Mateen in a residential neighborhood of Fort Pierce, Florida, about 118 miles southeast of Orlando.
Relatives and friends, many in tears, gathered outside the hospital to learn the fate of loved ones.
Smith did not know the conditions of her wounded friends. She came out of the hospital and burst into tears.
Christine Leinonen drove to Orlando at 4 a.m. after learning of the shooting from a friend of her 32-year-old son, Christopher Leinonen, who was at Pulse and is missing.
She had not heard from her son and feared the worst.
"These are nonsensical killings of our children," she said, sobbing. "They're killing our babies!"
She said her son's friend Brandon Wolf survived by hiding in a bathroom and running out as the bullets flew.
A woman who was outside the club early Sunday was trying to contact her 30-year-old son, Eddie, who texted her when the shooting happened and asked her to call police. He told her he ran into a bathroom with other club patrons to hide. He then texted her: "He's coming."
"The next text said: `He has us, and he's in here with us,"' Mina Justice said. "That was the last conversation."
A bartender said she initially thought the gunshots were music. But after a second shot, there was a pause, followed by more shots. That's when Tiffany Johnson realized something was wrong.
Johnson said people dropped to the ground and started running out of the club. She ran to a fast-food restaurant across the street and met one of her customers who let her get in his car. They drove away.
Club-goer Rob Rick said the shooting started just as "everybody was drinking their last sip."
He estimated more than 100 people were still inside when he heard shots, got on the ground and crawled toward a DJ booth. A bouncer knocked down a partition between the club area and an area where only workers are allowed. People were then able to escape through the back of the club.
Christopher Hansen said he was in the VIP lounge when he heard gunshots. He continued to hear shooting even after he emerged and saw the wounded being tended across the street.
"I was thinking, `Are you kidding me?' So I just dropped down. I just said, `Please, please, please, I want to make it out,"' he said. "And when I did, I saw people shot. I saw blood. You hope and pray you don't get shot."
The attack follows the fatal shooting late Friday of 22-year-old singer Christina Grimmie, who was killed after her concert in Orlando by a 27-year-old Florida man who later killed himself. Grimmie was a YouTube sensation and former contestant on "The Voice."