Donald Trump's controversial executive order to end birthright citizenship had been rejected by lower courts.