By John Lee.
Judge James L Robart (pictured) ruled that the ban was unconstitutional, and it has been lifted with immediate effect.
White House Press Secretary Sean Spicer described the ruling as "outrageous".
A video of the court proceedings can be viewed here.
(Sources: BBC News, Reuters, The Independent)