Former New York City mayor Rudy Giuliani has removed himself from consideration for a top spot in the Trump administration.

Mr Giuliani was believed to be a lead contender for the role of Secretary of State. But the Trump transition team said that the man once called "America's Mayor" ruled himself out for the position.

Among the men in consideration to run the State Department are former presidential candidate and once Massachusetts Gov Mitt Romney, Exxon CEO Rex Tillerson, former Ford CEO Alan Mulally, Sen Bob Corker, and retired Admiral James Stavridis.

According to the Trump transition team, Mr Giuliani had withdrawn from consideration on 29 November, although the precise reason remains unclear.

"This is not about me; it is about what is best for the country and the new administration," Mr Giuliani said of his decision. "Before I joined the campaign I was very involved and fufilled by my work with my law firm and consulting firm, and I will continue that work with even more enthusiasm."

Mr Giuliani will keep his position as vice chairman of the transition team.

Rudy Giuliani appears to forget 911 attacks when blaming all Islamic terror on Obama and Clinton

The President-elect lauded Mr Giuliani for his tireless work on the campaign trail, acting as Mr Trump's most vocal surrogate in the race against Hillary Clinton.

"He is and continues to be a close personal friend," Mr Trump said, "and as appropriate, I will call upon him for advice and can see an important place for him in the administration at a later date."

He added: "Rudy would have been an outstanding member of the Cabinet in several roles, but I fully respect and understand his reasons for remaining in the private sector."

President Donald Trump life in pictures Show all 16 1 /16 President Donald Trump life in pictures President Donald Trump life in pictures Donald Trump poses in a rocking chair once used by President John F. Kennedy at his New York City residence Reuters President Donald Trump life in pictures Developer Donald Trump with his new bride Marla Maples after their wedding at the Plaza hotel in New York Reuters President Donald Trump life in pictures Donald Trump and Celina Midelfart watch the match between Conchita Martinez and Amanda Coetzer during U.S. Open. She was the date whom Donald Trump was with when he met his current wife Melania at a party in 1996 Reuters President Donald Trump life in pictures U.S. Supreme Court Justice Clarence Thomas serving as the grand marshal for the Daytona 500, speaks to Donald Trump and Melania Knauss on the starting grid at the Daytona International Speedwa Reuters President Donald Trump life in pictures Developer Donald Trump talks with his former wife Ivana Trump during the men's final at the U.S. Open Reuters President Donald Trump life in pictures Donald Trump and his friend Melania Knauss pose for photographers as they arrive at the New York premiere of Star Wars Episode : 'The Phantom Menace,' Reuters President Donald Trump life in pictures Billionaire real estate developer Donald Trump talks with host Larry King. Trump told King that he was moving toward a possible bid for the United States presidency with the formation of a presidential exploratory committee Reuters President Donald Trump life in pictures Donald Trump answers questions as Minnesota Governor Jesse Ventura looks on in Brooklyn Park. Trump said on Friday he 'very well might' make a run for president under the Reform Party banner but had not made a final decision Reuters President Donald Trump life in pictures Billionaire Donald Trump makes a face at a friend as he sits next to Panamanian President Mireya Moscoso before the start of the 2003 Miss Universe pageant in Panama City Reuters President Donald Trump life in pictures Entrepreneur Donald Trump is greeted by a Marilyn Monroe character look-a-alike, as he arrives at Universal Studios Hollywood to attend the an open casting call for his NBC television network reality series 'The Apprentice.' Reuters President Donald Trump life in pictures Donald Trump and Simon Cowell present an Emmy during the 56th annual Primetime Emmy Awards at the Shrine Auditorium in Los Angeles Reuters President Donald Trump life in pictures Donald Trump and Megan Mullally perform at the 57th annual Primetime Emmy Awards at the Shrine Auditorium in Los Angeles Reuters President Donald Trump life in pictures Donald Trump, poses with his children, son Donald Trump, Jr., and daughters Tiffany and Ivanka Reuters President Donald Trump life in pictures Billionaire Donald Trump told Miss USA 2006 Tara Conner on Tuesday she would be given a second chance after reported misbehavior Reuters President Donald Trump life in pictures Donald Trump holds a replica of his star on the Hollywood Walk of Fame as his wife Melania holds their son Barron in Los Angeles Reuters President Donald Trump life in pictures U.S. property mogul Donald Trump stands next to a bagpiper during a media event on the sand dunes of the Menie estate, the site for Trump's proposed golf resort, near Aberdeen, north east Scotland Reuters

A Trump transition aide told Politico that Mr Romney, Sen Corker, and Mr Tillerson are the three front-runners. The aide said that Mr Giuliani's public audition for the role did not sit with the transition team well.

"Giuliani started doing interviews with himself, and that bothered people. You never want to be more controversial than the boss," the aide said

"The issue with Trump is you need to close the deal when he's in the mindset. He's not in the Rudy mindset anymore."

One associate close with Mr Giuliania, Tony Carbonetti, said that the mayor was only interested in serving as Secretary of State.