Manuela Carmena acknowledged it was not in the remit of the Madrid council to discuss Mr Trump’s executive order imposing travel curbs on the people of Iran, Iraq, Libya, Somalia, Sudan, Syria and Yemen – but said it was sometimes important to speak up.

Ms Carmena, from the left-wing Ahora Madrid party, said there were circumstances that justify the discussion "because, sometimes, remaining silent is wrong".

Related videos

In the 20th century we experienced one of the greatest violations of human rights by a government that also initially enjoyed popular support

Madrid Mayor Manuela Carmena

She told the council’s plenary session: "We know that his government has been legitimately elected and has the popular support of a large number of citizens but in the 20th century we experienced one of the greatest violations of human rights by a government that also initially enjoyed popular support.

"I find it difficult to take the floor for a council plenary session without first making reference to the protests that have taken place across the world against the human rights violation being carried out by the current President of the United States.”

The decree, signed on Friday by Trump, bars US entry to travellers from the seven countries for 90 days.

It also suspends the arrival of all refugees for at least 120 days while those from Syria are barred indefinitely.

GETTY

Donald Trump has sparked an international outcry with his travel ban

The travel bans have sparked chaos and condemnation around the globe and in the United States where legal challenges were filed after airport officials detained dozens of travellers from the seven countries.

Mr Trump said the measures are "about terror and keeping our country safe".

Spain’s conservative government has yet to officially comment on the new US immigration policy and unlike some other European leaders Prime Minister Mariano Rajoy has failed to condemn it.

GETTY

Anti-Trump Protests have taken place around the world

The UK Reacts To Trump's 'Muslim' Travel Ban
Mon, January 30, 2017

President Trump signed an executive order banning immigration to the USA from seven 'muslim' countries. This led to protests across America and, now, the UK.

Play slideshow

1 of 11

People demonstrate during a protest at Downing Street in central London against US President Donald Trump's controversial travel ban on refugees and people from seven mainly-Muslim countries

France has called for the measures to be scrapped while German Chancellor Angela Merkel has been outspoken in her criticism of the "anti-Muslim" travel ban.

But Esperanza Aguirre, a former minister and regional president of the Spain’s Popular Party in Madrid and now party spokesman in City Hall, "strongly rejected" Ms Carmena's comparison of Mr Trump to Hitler.

He said: ”You may like Trump or dislike him, and there are many things I do not like, but to give him lessons in democracy from Europe, where the worst totalitarianism in history has been born – both Nazi and Communist – seems to be absolutely and totally rejectable and I want to do it with the utmost force."