Hundreds of thousands of immigrants who were given special permission to come to the US will be told that they must leave the country immediately.

The Department of Homeland Security (DHS) said in a statement Thursday that Cubans, Haitians, Nicaraguans, and Venezuelans who were previously temporarily shielded from deportation will be emailed notices telling them to go.

The DHS said that more than half a million people from the four countries were allowed to remain in the US for two years under orders issued by Joe Biden.