President Donald Trump's controversial executive order on refugees and immigration has been blocked by a federal judge. The block was upheld by an appeals court, in a ruling on Thursday night.

The key questions and answers about the ruling, and where we go from here:

What did Donald Trump’s travel ban do?

Mr Trump signed an executive order on January 27 banning citizens of seven majority-Muslim countries - Iran, Iraq, Libya, Somalia, Sudan, Syria, and Yemen - from the US, temporarily suspending America’s refugee programme and barring Syrian refugees from the country indefinitely.

The state department invalidated some 60,000 visas from citizens of those seven countries, travellers were held at airports around the US and thousands more were not allowed to board planes to the US.