Former New York City Mayor Rudy Giuliani has removed his name from consideration for a position in President-elect Donald Trump’s Cabinet, the transition team announced Friday.

Giuliani, who is currently a vice chairman on the presidential transition team, had been rumored to be in consideration for secretary of state.

In an interview with Eric Bolling on Fox News' "The O'Reilly Factor," Giuliani said he thought Trump had "enough choices that were good for him (and) I wasn't absolutely necessary."

He added that he had "a whole life, businesses to run" but "if I thought I was the only one who could do, it, I would have stayed in."

In an earlier interview Friday with Fox News' Neil Cavuto, Giuliani struck the same theme, saying, "My desire to be in the Cabinet was great but it wasn't that great and he had a lot of terrific candidates and I thought I could play a better role being on the outside and continuing to be his close friend and adviser."

Trump met with Giuliani on Nov. 29., when the matter was discussed and he gave the president-elect a letter. He confirmed to Fox News that he had only been interested in being secretary of state.

"Honestly, the other positions I didn't have an interest in, so that really was the only one I had any real interest in," he told Cavuto.

"I came to work for him to to save America...," Giuliani said on "The O'Reilly Factor." "I felt I had done my job."

Giuliani said he now intends to continue his work in the private sector. He also warned against the selection of Mitt Romney for the position, saying the former Massachusetts governor had "gone over the line" in previous criticisms he made about Trump.

"I will support [Trump's] decision, but my advice would be that Mitt went a little too far. You can make friends and make up but I would not see him as a candidate for the Cabinet," Giuliani told Cavuto.

Trump praised Giuliani in a statement, calling him “an extraordinarily talented and patriotic American.”

"He is and continues to be a close personal friend, 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."

Reince Priebus, tapped to be Trump’s chief of staff, said that Giuliani was “was vetted by our team for any possible conflicts and passed with flying colors."