The federal judge who blocked President Trump’s immigration order is described by former colleagues and acquaintances as a “mainstream” Republican who went from a career as a highly respected corporate lawyer in Seattle to an appointment by President George W. Bush to the federal bench.

The order on Friday by the judge, James Robart of Federal District Court in Seattle, reversed the president’s executive order restricting immigration from seven predominantly Muslim countries. It stirred the ire of Mr. Trump, who in a Twitter post on Saturday denigrated Judge Robart as a “so-called judge” and described the judge’s order as “ridiculous.”

Lawyers in Seattle describe Judge Robart, 69, as a disciplined “judge’s judge” who is unafraid of passing down unpopular rulings.

Michael D. McKay, a former United States attorney who is active in Republican politics in Washington State, called Judge Robart “a smart, thoughtful guy and very even-tempered.”