The Orlando massacre came about seven months after a husband and wife who sympathized with Islamic extremists opened fire in December 2015 on a holiday party in San Bernardino, California, killing 14 and wounding 22 others.