Sharing a tweet from the Drudge Report about the attack, which happened around 10pm last night, Trump then stated that America must be “smart, vigilant and tough” and that the travel ban must be implemented.

It was only after sending that tweet that the US leader shared a message of support with the UK, writing: “WE ARE WITH YOU”.

Trump’s messages garnered criticism from thousands of people, with many Americans saying he does not represent the views of the US.

DANIEL SORABJI via Getty Images
Seven people were killed in a terror attack on the capital last night

It had previously been blocked by lower courts, which deemed it discriminatory.

Trump’s order, a so-called “watered-down” version of his first attempt, seeks to ban citizens of Iran, Somalia, Sudan, Syria and Yemen from entering the US. A previous version of the ban included Iraqis.

The US Department of Justice said in a statement that Trump is not required to admit into America “people from countries that sponsor or shelter terrorism” until they are properly vetted by his standards.