Golf has been a favorite pastime of U.S. presidents dating back more than a century.
Here, President Donald Trump and Japan's Prime Minister Shinzo Abe play golf in Florida on Feb. 11, 2017.
President William Howard Taft on the golf course, c. 1908.
President Warren G. Harding swinging a golf club in an undated photo. Harding served as president from 1921 until his death in 1923.
Franklin Delano Roosevelt designed and built the first golf course on Campobello Island, Maine, where he had a summer home. He won the Club championship on August 29, 1900. Roosevelt's golfing days ended when he was stricken with polio in 1921, 12 years before taking office as president.
President Dwight D. Eisenhower was the most enthusiastic presidential golfer since William Howard Taft. Here he gives his grandson, David, a golf lesson at Fraser, Colo., in August 1955.
Eisenhower and Nixon
President Dwight D. Eisenhower and Vice President Richard Nixon on the golf course.
President John F. Kennedy enjoys a late afternoon round of golf at The Hyannis Port Country Club, July 20, 1963.
President John F. Kennedy walks along the golf course at the Country Club in Newport, Rhode Island, September 14, 1963. First lady Jacqueline Kennedy and Mrs.Tony Bradlee, wife of Washington Post senior editor Ben Bradlee, ride along in a golf cart.
President John F. Kennedy poses with his golfing partners on the first tee at the Palm Beach Country Club during his Easter vacation in Florida, April 4, 1961. The foursome includes, from left, his brother-in-law, Stephen Smith of Washington; his father, Joseph Kennedy; and another brother-in-law, Peter Lawford.
Kennedy's golf balls
A collection of customized golf balls belonging to President John F. Kennedy.
President Lyndon Johnson tees off at golf after arriving at Ramey Air Force base on March 3, 1968 in Puerto Rico.
President Lyndon B. Johnson playing golf on March 3, 1968.
Attorney General John Mitchell steps aside to permit President Richard Nixon to tee off on August 23, 1969 in Los Angeles Country Club.
President Richard Nixon shows members of the U.S. Ryder Cup team his putting skill on the White House green on September 12, 1969 in Washington. The golfers are Dale Douglass, Frank Beard and Sammy Snead, right, the non-playing captain of the squad.
Nixon and Bob Hope
Bob Hope and President Richard Nixon prepare to tee off at Lakeside Golf Club in North Hollywood, California on Jan. 3, 1970.
President Gerald Ford in action during the Bob Hope Chrysler Classic in 1990.
Former President Gerald Ford chips out of a sand trap on the 11th hole at La Quinta Country Club during the Bob Hope Chrysler Classic golf tournament Thursday, Jan. 16, 1997, in La Quinta, Calif. Ford's shot went into the crowd, but no one was injured.
George H. W. Bush
Soviet President Mikhail Gorbachev takes President George Bush for a ride in a golf cart June 2, 1990 at Camp David.
George H. W. Bush
President George Bush looks on after taking a swing during the AT&T Pebble Beach Pro-Am in Monterrey, California, Feb. 3, 1994.
Then President-elect Bill Clinton watches his tee shot December 30, 1992 on the first hole at Arthur Hills Golf Club on Hilton Head Island.
Trio of presidents
President Bill Clinton, center, is flanked by two former presidents, entertainment and golf celebrities before teeing off in the Pro-Am round of the Bob Hope Chrysler Classic golf tournament in Indian Wells, California on Feb. 15, 1995.
From left: former President Gerald Ford, Bob Hope, Clinton, tournament defending champion Scott Hoch, and former President George H.W. Bush.
Ford and Clinton
President Bill Clinton enthusiastically congratulates former President Gerald Ford after Ford sank a 40-foot putt on the group's final hole of the day as they wrapped up play in the Pro-Am round Feb. 15, 1995, at Indian Wells Country Club in California.
President Bill Clinton chews on his golf tee while waiting his turn to hit on the 10th hole of the Farm Neck Country Club on Martha's Vineyard, August 21, 1993.
Former President Bill Clinton watches the flight of his ball while golfing Saturday, Aug. 15, 2015, at Farm Neck Golf Club on Martha's Vineyard.
George W. Bush
President George W. Bush waves his club at the press as he prepares to tee off at the first hole of The Courses at Andrews Air Force Base, July 3, 2001, outside Washington, D.C.
George W. Bush
President George W. Bush putts on the18th green while golfing at Andrews Air Force Base in Maryland on July 3, 2001.
Father and son
President George W. Bush misses his putt on the 18th green as his father, former President George H.W. Bush, reaches out a hand on his son's 55th birthday at Cape Arundel Golf Club, July 6, 2001 in Kennebunkport, Maine.
President George W. Bush waves as he and his father, former President George H.W. Bush, drive to the club house after finishing an early round of golf July 8, 2002, on the Cape Arundel Golf Club in Kennebunkport, Maine.
President Barack Obama tees off on 10th hole while playing golf at the Mid-Pacific Country Club in Kailua, Hawaii, December 31, 2009.
President Barack Obama reacts as he putts on hole nine while playing golf at the Mid-Pacific Country Club in Kailua, Hawaii, December 31, 2009.
President Barack Obama plays golf with friends on the 9th hole at the Mid-Pacific Country Club in Kailua, Hawaii, December 28, 2010.
President Barack Obama putts as first lady Michelle Obama and daughter Sasha watch on the first hole during a round of mini-golf at Pirate's Island Golf, August 14, 2010 in Panama City Beach, Florida.
Obama and Boehner
President Barack Obama and House Speaker John Boehner, R-Ohio, on the first hole of their game of golf at Andrews Air Force Base, Maryland, Saturday, June 18, 2011.
Obama and Boehner
President Barack Obama and Republican House Speaker John Boehner play on the first hole during a game of golf on June 18, 2011 at Andrews Air Force Base in Maryland.
President Barack Obama points after Vice President Joe Biden sinks a 15- to 20-foot putt. "Did you all catch that?" Mr. Obama shouted to reporters gathered near the green.
The team of President Obama and Speaker Boehner beat Vice President Biden and Gov. John Kasich, R-Ohio, on the 18th hole; they each won $2.
Obama and Clinton
President Barack Obama pats former President Bill Clinton on the back after his putt on the first hole at the Andrews Air Force Base golf course in Maryland on September 24, 2011.
President Barack Obama reacts to a missed putt on the first green at Farm Neck Golf Club in Oak Bluffs, Massachusetts, on August 11, 2013.
Obama and Clinton
Former President Bill Clinton and Ron Kirk watch as President Barack Obama putts while golfing at Farm Neck Golf Club on August 15, 2015 on Martha's Vineyard.
Obama and Larry David
President Barack Obama reacts to a putt alongside comedian Larry David as they play golf at Farm Neck Golf Club in Oak Bluffs on Martha's Vineyard in Massachusetts on August 8, 2015.
Obama in Hawaii
President Barack Obama arrives on the 18th hole of the Mid-Pacific Country Club's golf course December 21, 2015, in Kailua, Hawaii.
Obama and PM David Cameron
President Barack Obama lines up a putt as British Prime Minister David Cameron looks on from the 3rd green at The Grove Golf Course near Watford in Hertfordshire, north of London, on April 23, 2016.
Future president Donald Trump plays a stroke as he officially opens his new Trump International Golf Links course in Aberdeenshire, Scotland, on July 10, 2012.
Mr. Trump plays a round of golf after the opening of The Trump International Golf Links Course on July 10, 2012 in Scotland.
Trump at US Women's Open
President Trump points to well-wishers during the 72nd US Women's Open Golf Championship at Trump National Golf Course in Bedminister, New Jersey, on July 15, 2017.
Then Republican presidential candidate Donald Trump drives a golf cart during his visit to his Scottish golf course Turnberry on July 30, 2015.
In June 2017, President Trump made golf fans do a double-take when he drove his cart onto the green at Trump National Golf Club in Bedminster, New Jersey.