Prime Minister Justin Trudeau says those who have been in arrested in connection with the attempted coup d'état in Turkey should be able to defend themselves in a "robust and legitimate process" in that country.

Mr. Trudeau's concerns, which he says have been raised with the Turkish government, come after the arrests of thousands of allegedly pro-coup soldiers and police officers following the failed putsch of President Recep Tayyip Erdogan's government last Friday.

Mr. Erdogan has also said he will consider public demands to reinstate the death penalty.

Story continues below advertisement

"It's a good thing that democracy prevails," Mr. Trudeau said in response to questions from reporters on Wednesday.

"Coup d'états are never a good thing. But at the same time, we are concerned that the democratic institutions, Turkey's constitution, are respected; that the rule of law continues. We need assurances that all those who have been arrested in connection to this coup d'état will have the chance to defend themselves in a robust and legitimate process, and those are the concerns we have underlined with Turkey."

There are 9,322 people facing legal proceedings related to the attempted coup, according to Deputy Prime Minister Numan Kurtulmus.

About 6,000 allegedly pro-coup soldiers, out of Turkey's 620,000 member military, have been arrested or suspended, as well as 9,000 police officers from the 250,000-strong force.

An additional 85 generals and admirals have been ordered jailed, pending trial over their roles in the coup attempt, the Anadolu news agency reports. At least 264 people are reported to have died in the clash that stretched into Saturday, but was thwarted as Mr. Erdogan's supporters took to the streets.

Mr. Erdogan's government has also removed about 50,000 people from military, police and other government departments, including private institution teachers and university rectors and deans.

Mr. Erdogan blames Fethullah Gulen, a retired imam who lives in Pennsylvania, for the attempted coup and wants him extradited from the United States.

Story continues below advertisement

U.S. Secretary of State John Kerry has said a U.S. court will need to be convinced by evidence of Mr. Gulen's involvement.

With a report from Bill Curry and Mark MacKinnon