A second federal appeals court has upheld a decision blocking President Donald Trump's revised travel ban.

The ruling from a unanimous three-judge panel of the 9th US Circuit Court of Appeals deals the administration another legal defeat as the Supreme Court considers a separate case on the issue.

The judges say the president violated US immigration law by discriminating against people based on their nationality and that Mr Trump failed to show their entry into the country would hurt American interests.

They did not rule on whether the travel ban violated the Constitution's ban on the government officially favouring or disfavouring any religion.

The 4th US Circuit Court of Appeals in Virginia also ruled against the travel ban on May 25.

The administration has appealed that ruling to the Supreme Court.