Donald Trump’s lawyer of choice to represent him at the Supreme Court and push through his controversial Muslim ban executive order has said he no longer wants to be considered for the job.

Chuck Cooper, who was a top contender to argue for Mr Trump in the nation’s highest court, withdrew from consideration on Thursday night.

The decision was made the same evening that the US Court of Appeals for the Ninth Circuit upheld federal Judge James Robart’s decision to enforce a temporary stay on Mr Trump’s order.

Mr Trump vowed to fight back and take the case all the way to the Supreme Court.

Mr Copper said in a statement to The Independent that he was “deeply honoured” for the consideration but had “great respect” for any public servant in the Trump administration.

“But after witnessing the treatment that my friend Jeff Sessions, a decent and honorable man who bears only good will and good cheer to everyone he meets, had to endure at the hands of a partisan opposition that will say anything and do anything to advance their political interests, I am unwilling to subject myself, my family, and my friends to such a process,” he said.

Cory Booker testifies that Jeff Sessions is not qualified to protect the rights of U.S. citizens

Mr Sessions was sworn in as Attorney General this week after facing massive opposition from Democrats and civil rights activists who claimed that his career has been dogged by allegations of racism and sexism. Mr Sessions, who is against same-sex marriage and abortion, said the accusations of racism were "damnably false charges".

Mr Trump has yet to name his top pick to represent him now that Mr Cooper has withdrawn his nomination. Likely contenders are the new Attorney General and close friend, Jeff Sessions, or acting Solicitor General Noel Francisco.

The administration is reportedly still interviewing candidates for Solicitor General.

One potential candidate is George Conway, husband of the Counselor to the President, Kellyanne Conway.

Protestors rally at JFK Airport against Muslim immigration ban Show all 20 1 /20 Protestors rally at JFK Airport against Muslim immigration ban Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-1 Protestors rally during a demonstration against the Muslim immigration ban at John F. Kennedy International Airport on January 28, 2017 in New York City. President Trump signed the controversial executive order that halted refugees and residents from predominantly Muslim countries from entering the United States. Getty Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-2 Protestors rally during a protest against the Muslim immigration ban at John F. Kennedy International Airport on January 28, 2017 in New York City. President Trump singed the controversial executive order that halted refugees and residents from predominantly Muslim countries from entering the United States. Stephanie Keith/Getty Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-3 Protestors rally during a protest against the Muslim immigration ban at John F. Kennedy International Airport on January 28, 2017 in New York City. President Trump singed the controversial executive order that halted refugees and residents from predominantly Muslim countries from entering the United States. Stephanie Keith/Getty Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-4 SAN FRANCISCO, CA - JANUARY 28: Demonstrators hold signs during a rally against a ban on Muslim immigration at San Francisco International Airport on January 28, 2017 in San Francisco, California. President Donald Trump signed an executive order Friday that suspends entry of all refugees for 120 days, indefinitely suspends the entries of all Syrian refugees, as well as barring entries from seven predominantly Muslim countries from entering for 90 days. Stephen Lam/Getty Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-5 A crowd of protesters gathers outside of the Brooklyn Federal Courthouse as a judge hears a challenge against President Donald Trump's executive ban on immigration from several Muslim countries, on January 28, 2017 in Brooklyn. The judge issued an emergency stay on part of Trump's executive order, ruling that sending refugees stopped at U.S. airports back to their countries would be harmful. Yana Paskova/Getty Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-6 Protestors rally during a demonstration against the new immigration ban issued by President Donald Trump at John F. Kennedy International Airport on January 28, 2017 in New York City. President Trump signed the controversial executive order that halted refugees and residents from predominantly Muslim countries from entering the United States. Stephanie Keith/Getty Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-7 NEW YORK, NY - JANUARY 28: Protestors rally during a demonstration against the new immigration ban issued by President Donald Trump at John F. Kennedy International Airport on January 28, 2017 in New York City. President Trump signed the controversial executive order that halted refugees and residents from predominantly Muslim countries from entering the United States. Stephanie Keith/Getty Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-8 Protestors rally during a demonstration against the new immigration ban issued by President Donald Trump at John F. Kennedy International Airport on January 28, 2017 in New York City. President Trump signed the controversial executive order that halted refugees and residents from predominantly Muslim countries from entering the United States. Stephanie Keith/Getty Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-9 NEW YORK, NY - JANUARY 28: Protestors rally during a demonstration against the Muslim immigration ban at John F. Kennedy International Airport on January 28, 2017 in New York City. President Trump signed the controversial executive order that halted refugees and residents from predominantly Muslim countries from entering the United States. (Photo by Stephanie Keith/Getty Images) Getty Images Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-10 NEW YORK, NY - JANUARY 28: Protestors rally during a demonstration against the Muslim immigration ban at John F. Kennedy International Airport on January 28, 2017 in New York City. President Trump signed the controversial executive order that halted refugees and residents from predominantly Muslim countries from entering the United States. (Photo by Stephanie Keith/Getty Images) Getty Images Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-11 NEW YORK, NY - JANUARY 28: Protestors rally during a demonstration against the Muslim immigration ban at John F. Kennedy International Airport on January 28, 2017 in New York City. President Trump signed the controversial executive order that halted refugees and residents from predominantly Muslim countries from entering the United States. Stephanie Keith/Getty Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-12 Protestors rally during a demonstration against the Muslim immigration ban at John F. Kennedy International Airport on January 28, 2017 in New York City. President Trump signed the controversial executive order that halted refugees and residents from predominantly Muslim countries from entering the United States. Stephanie Keith/Getty Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-13 Protestors rally during a demonstration against the Muslim immigration ban at John F. Kennedy International Airport on January 28, 2017 in New York City. President Trump signed the controversial executive order that halted refugees and residents from predominantly Muslim countries from entering the United States. Stephanie Keith/Getty Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-14 Protestors rally during a demonstration against the Muslim immigration ban at John F. Kennedy International Airport on January 28, 2017 in New York City. President Trump signed the controversial executive order that halted refugees and residents from predominantly Muslim countries from entering the United States. Stephanie Keith/Getty Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-15 Protestors rally during a demonstration against the Muslim immigration ban at John F. Kennedy International Airport on January 28, 2017 in New York City. President Trump signed the controversial executive order that halted refugees and residents from predominantly Muslim countries from entering the United States. Stephanie Keith/Getty Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-16 Protestors rally during a demonstration against the Muslim immigration ban at John F. Kennedy International Airport on January 28, 2017 in New York City. President Trump signed the controversial executive order that halted refugees and residents from predominantly Muslim countries from entering the United States. Stephanie Keith/Getty Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-17 NEW YORK, NY - JANUARY 28: Protestors rally during a protest against the Muslim immigration ban at John F. Kennedy International Airport on January 28, 2017 in New York City. President Trump singed the controversial executive order that halted refugees and residents from predominantly Muslim countries from entering the United States. Stephanie Keith/Getty Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-18 Protestors rally during a protest against the Muslim immigration ban at John F. Kennedy International Airport on January 28, 2017 in New York City. President Trump singed the controversial executive order that halted refugees and residents from predominantly Muslim countries from entering the United States. Stephanie Keith/Getty Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-19 Protestors rally during a protest against the Muslim immigration ban at John F. Kennedy International Airport on January 28, 2017 in New York City. President Trump singed the controversial executive order that halted refugees and residents from predominantly Muslim countries from entering the United States. Stephanie Keith/Getty Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-20 Passengers wait in line to check in at the American Airlines terminal at JFK International Airport August 10, 2006 in the Queens borough of New York City. British authorities arrested 21 people and halted a anallegedly terrorist plot to use liquid explosives concealed in carry-on luggage to blow up airliners traveling between Britain and the U.S. Homeland Security chief Michael Chertoff said that the plot appeared to be directed at U.S. carriers flying out of Heathrow. such as United Airlines, American Airlines, Continental Airlines. Stephen Chernin/Getty

The executive order, signed 27 January, banned nearly all travellers from seven Muslim-majority countries for 90 days and refugees for 120 days. It also indefinitely suspended Syrian refugees from entering the US.

It prompted massive protests at airports around the US and ensnared dual nationals as well as visa and green card holders.

In August of 2017, Donald Trump decried the courts' role in the travel ban

The ban was dealt a big setback after federal Judge Robart halted the ban temporarily and nationwide. Airports were immediately advised to let people into the US from those seven countries.

Mr Trump filed an emergency appeal via the Justice Department, which was denied.

Mr Trump was further irked after the Ninth Circuit upheld Mr Robart’s decision, and accused the judges of being “political”, putting the country in “turmoil” and “peril”.

His Supreme Court Justice appointee, Neil Gorsuch, said those comments about the judiciary were “disheartening” and “demoralizing”, according to Senator Richard Blumenthal, who related the conversation to reporters.

Mr Trump insisted that the Senator had misrepresented Mr Gorsuch’s comments.

Comedian rips apart Donald Trump's 'Not-A-Muslim ban'