Golf legend Jack Nicklaus backed Tiger Woods' comments about respecting the President of the United States in an interview Wednesday on "Fox & Friends."

Woods shot down questions over the weekend about his relationship with President Trump, urging people to respect the office of the president, while declining to comment on political matters.

At the end of a tournament in New Jersey, Woods was asked if he had anything to say regarding his "friendly relationship" with Trump.

“Well, he's the President of the United States. You have to respect the office. And no matter who is in the office, you may like, dislike the personality or the politics, but we all must respect the office,” Woods answered.

WATCH: Trump 'Red Cards' the Media at White House FIFA Event

Nicklaus said that Woods - whose 14 major tournament victories are second to Nicklaus' all-time mark of 18 - handled the question well and that he agrees with his answer.

"No matter who's president -- whether it was Barack Obama or Donald Trump -- I think you respect the office, and I'm much in Tiger's camp on that," he said.

President Trump tweeted his appreciation for Woods' comments on Monday, saying that he is "very smart" and didn't give in to the "Fake News Media."

Nicklaus endorsed Trump during the 2016 election, telling CBS that he was "awakening the country." He also discussed Folds of Honor's Patriot Golf Day, the country's largest golf fundraiser.

Folds of Honor raises money for the spouses and children of fallen service members.

Watch the segment above.

'Must Respect the Office': Tiger Woods Questioned on His 'Friendly Relationship' With Trump

Pelosi: Trump & GOP 'So Afraid' of Women, Minorities and LGBTQ Community in Midterms

'She Must Be Goldilocks': The Five Reacts to Cynthia Nixon Team Claiming Sexism Over Cold Debate Room