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.

How many strokes do you think Kai is going to give @tigerwoods and @realDonaldTrump ??? #golf pic.twitter.com/QyW9M6g2sb — Donald Trump Jr. (@DonaldJTrumpJr) December 23, 2016

“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

Article continues below

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.

Jack Nicklaus: “No matter who’s president, whether it was Barack Obama or Donald Trump, I think you respect the office.” pic.twitter.com/qKVlBMzzfr — Fox News (@FoxNews) August 29, 2018

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."

The Fake News Media worked hard to get Tiger Woods to say something that he didn’t want to say. Tiger wouldn’t play the game - he is very smart. More importantly, he is playing great golf again! — Donald J. Trump (@realDonaldTrump) August 27, 2018

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