This is an archived article that was published on sltrib.com in 2017, and information in the article may be outdated. It is provided only for personal research purposes and may not be reprinted.

Palm Beach, Fla. • For the past three weekends, President Donald Trump has flown on Air Force One to his private Florida club, where in addition to work, he has dined with family and friends, attended parties — and played plenty of golf.

Not that long ago, Trump took issue with President Barack Obama for doing much the same. In May, Trump tweeted, "While our wonderful president was out playing golf all day, the TSA is falling apart, just like our government!"

On Sunday, Trump spent the morning at Trump International Golf Club, where he played with professional golfer Rory McIlroy. The White House at first said Trump played a few holes and did not disclose whom Trump was golfing with, but the next day a photo emerged on social media, and McIlroy told golf website nolayingup.com that he played 18 holes with Trump.

Asked if Trump played a full round with McIlroy, White House spokeswoman Sarah Huckabee Sanders said, "He intended to play a few holes and decided to play longer."

For years on Twitter, Trump railed against Obama for taking vacations and playing golf. As a candidate, Trump said if he won he'd probably be too busy to golf and would only play with people with whom he was looking to make deals.

When Trump hosted Japanese Prime Minister Shinzo Abe this month, the two played at two of Trump's courses in Jupiter, Florida.

Obama was an avid golfer, though he did not play during his first few months in office, according to Mark Knoller of CBS News, who tracked his golf outings. He also took regular family trips to Martha's Vineyard and Hawaii but did not have private vacation homes where he routinely spent weekends.