Saudi Arabia said on Monday it was expelling the Canadian ambassador and had recalled its envoy while freezing all new trade, in protest at Ottawa's vigorous calls for the release of jailed activists.

The kingdom gave the Canadian ambassador 24 hours to leave the country, in an abrupt rupture of relations over what it slammed as “interference” in its internal affairs.

The move, which underscores a newly aggressive foreign policy led by Crown Prince Mohammed bin Salman, comes after Canada demanded the immediate release of human rights campaigners swept up in a new crackdown.

In this 2012 photo, Samar Badawi is presented with an International Women of Courage Award by the US Secretary of State and the first lady during a ceremony at the State Department in Washington, DC.— AFP

“The Canadian position is an overt and blatant interference in the internal affairs of the kingdom of Saudi Arabia,” the Saudi foreign ministry tweeted.

“The kingdom announces that it is recalling its ambassador to Canada for consultation. We consider the Canadian ambassador to the kingdom persona non grata and order him to leave within the next 24 hours.”

Read: Saudi Arabia says 17 detained in sweeping crackdown

The ministry also announced “the freezing of all new trade and investment transactions with Canada while retaining its right to take further action”.

Canada last week said it was “gravely concerned” over a new wave of arrests of women and human rights campaigners in the kingdom, including award-winning gender rights activist Samar Badawi.

“We urge the Saudi authorities to immediately release them and all other peaceful #humanrights activists,” the foreign ministry tweeted on Friday.

'Unprecedented crackdown'

Samar was arrested along with fellow campaigner Nassima al-Sadah last week, the latest victims of what Human Rights Watch called an “unprecedented government crackdown on the women's rights movement”.

Samar is a vocal campaigner for blogger Raif Badawi, her brother who was arrested in 2012 and sentenced to 1,000 lashes and 10 years in jail for “insulting Islam” in a case that sparked an international outcry.

The latest arrests come weeks after more than a dozen women's rights campaigners were detained and accused of undermining national security and collaborating with enemies of the state. Some have since been released.

The Saudi foreign ministry slammed the Canadian statement, signalling its growing irritation over Western criticism of the kingdom's poor human rights record.

“Using the phrase 'immediately release' in the Canadian statement is very unfortunate, reprehensible, and unacceptable in relations between states,” the ministry tweeted.

Marie-Pier Baril, a spokeswoman for Canadian Foreign Minister Chrystia Freeland, said Canada was “seriously concerned” by Saudi Arabia's actions.

“Canada will always stand up for the protection of human rights, very much including women's rights, and freedom of expression around the world,” she said in a statement.

“Our government will never hesitate to promote these values and believes that this dialogue is critical to international diplomacy.”

Prince Mohammed, heir to the region's most powerful throne, has introduced a string of reforms such as lifting a decades-long ban on women drivers in a bid to overhaul the kingdom's austere image as it prepares for a post-oil era.

But the 32-year-old has simultaneously pursued a hawkish foreign policy — including leading a blockade of neighbouring Qatar and a bombing campaign against Huthi rebels in Yemen — while cracking down on dissent at home.

Arab world stands with Riyadh

Arab nations have spoken out in support of Saudi Arabia after it took trade and diplomatic measures against Canada.

A statement released by Bahrain's Ministry of Foreign Affairs said it remained in solidarity with Saudi Arabia against any external interference in its internal affairs or any side’s attempt to undermine the Saudi sovereignty.

“Bahrain also confirms its absolute support for the measures taken by the Kingdom in response to the statements made by the Canadian Minister of Foreign Affairs and the Canadian Embassy in Riyadh, on what they called civil society activists,” the statement read.

The UAE’s Minister of State for Foreign Affairs Anwar Gargash tweeted on Monday that “we can only stand with Saudi Arabia in defending it’s sovereignty and taking the necessary measures to protect its laws.”

'Serious concern'

“The rupture in Saudi diplomatic relations with Canada reinforces how the 'new' Saudi Arabia that Mohammed bin Salman is putting together is in no mood to tolerate any form of criticism of its handling of domestic affairs,” said Kristian Ulrichsen, a fellow at Rice University's Baker Institute in the United States.

In April, Canadian Prime Minister Justin Trudeau expressed his “serious concern” over the continued jailing of Badawi to Saudi King Salman.

Badawi's wife Ensaf Haidar has been granted asylum by Canada, where she is raising their three children now aged 14, 13 and 10 as a single mother.

Riyadh's expulsion of the Canadian ambassador was meant to send a strong message to other critical Western governments, observers say.

“Canada is easier to cut ties with than the rest,” Bessma Momani, a professor at Canada's University of Waterloo, told AFP.

"There isn't a strong bilateral trade relationship and poking the Trudeau government likely resonates with Saudi's hawkish regional allies. At jeopardy are the tens of thousands of Saudi students in Canada."