Who was the Florida nightclub gunman?

Police have named Omar Mateen, 29, as the gunman who killed 49 people at Florida's Pulse nightclub before being shot dead by police.

The so-called Islamic State group has said it was behind the attack, but the extent of its involvement is not clear.

The BBC's Gordon Corera examines what we know about the attacker.