Prime Minister Justin Trudeau is calling the attack on a gay nightclub in Florida an act of domestic terror.

Trudeau says he was "shocked and saddened" to learn so many people were killed and injured following the mass shooting in Orlando.

Trudeau says that while authorities are still investigating and not all details have been confirmed, it is "appalling that as many as 50 lives may have been lost to this domestic terror attack targeting the LGBTQ2 community."​

Trudeau says he and his wife, Sophie Grégoire Trudeau, are offering condolences and prayers to the families and friends of those lost and wish full recovery to those who were injured in the attack.

Trudeau says they stand in solidarity with Orlando and the LGBT community and grieve with their friends in the United States and Florida.

We grieve with our friends in the US & stand in solidarity with the LGBTQ2 community after today's terror attack: <a href="https://t.co/nwP2MR2xUm">https://t.co/nwP2MR2xUm</a> —@JustinTrudeau

Public Safety Minister Ralph Goodale wrote on Twitter that he is shocked by the mass shooting and that Canadians condemn such violence.

Shocked at mass shooting in Orlando. Cdns condemn this brutal violence. Thoughts+prayers with victims and their loved ones. —@RalphGoodale

U.S. police say the attack happened early Sunday morning, when a gunman wielding an assault-type rifle and a handgun opened fire inside a crowded gay nightclub. He later died in a gunfight with police.

Goodale says his thoughts and prayers are with the loved ones of the victims.

Governor General David Johnston called the deadly attack "appalling" and called on Canadians to "remain committed to diversity."

The terrible attack in Orlando is appalling. We must remain committed to diversity in all its forms and stand by our American neighbours. —@GGDavidJohnston

The Royal family in Britain tweeted a message of support from the Queen, who is celebrating her 90th birthday in London.

The Queen: "Prince Philip & I have been shocked by the events in Orlando. Our thoughts & prayers are with all those who have been affected" —@RoyalFamily

Ontario Premier Kathleen Wynne wrote on Twitter that her thoughts are with the LGBTQ2S community.

Shocked and heartbroken by the news of the <a href="https://twitter.com/hashtag/Orlando?src=hash">#Orlando</a> terrorist attack. Our thoughts are with the entire <a href="https://twitter.com/hashtag/LGBTQ2S?src=hash">#LGBTQ2S</a> community. —@Kathleen_Wynne

B.C. Premier Christy Clark said on Twitter that she is "incredibly saddened by the evil brutality" of the Florida shooting, and that her province "stands united with [Orlando] against terror and hate."

Incredibly saddened by the evil brutality of <a href="https://twitter.com/hashtag/OrlandoNightclubShooting?src=hash">#OrlandoNightclubShooting</a>. British Columbia stands united w/ <a href="https://twitter.com/hashtag/Orlando?src=hash">#Orlando</a> against terror and hate. —@christyclarkbc

Toronto Mayor John Tory tweeted his condolences and announced that the city's Toronto sign would be lit in rainbow colours to honour the victims, who were slain at a gay nightclub during Pride month in what at least one U.S. congressmen has speculated is a hate-fuelled attack.

Horrific news out of <a href="https://twitter.com/hashtag/Orlando?src=hash">#Orlando</a>. Many questions still unanswered but my thoughts & prayers are with global LGBTQ2S community. —@JohnTory

Toronto sign will be lit in colours of the rainbow today to honour the innocent victims in <a href="https://twitter.com/hashtag/Orlando?src=hash">#Orlando</a>. —@JohnTory

Trudeau's senior political strategist Gerald Butts called the shooting "horrible."

My goodness. How horrible. <a href="https://t.co/7hyfRamMud">https://t.co/7hyfRamMud</a> —@gmbutts

Sunday's violence is considered the worst mass shooting in U.S. history.