Barty became the second player to retire while at the top of the WTA rankings. (Photo by Clive Brunskill/Getty Images)

Ash Barty is taking her talents to the golf course after retiring from professional tennis in late March.

At the time, she said that she would “wait and see” when asked about the possibility of picking up golf professionally.

The former World No. 1 is included in Ernie Els’ Rest of the World team at the Icons Series event in Jersey City, New Jersey. The exhibition will take place on June 30 and July 1 at Liberty National Golf Club.

The three-time Grand Slam champion has reportedly lowered her golf handicap to four. Joining her will be Pep Guardiola and Harry Kane on the 10-hole team. They will play against Fred Couples’ U.S. team, which features Michael Phelps, Oscar De La Hoya and Ben Roethlisberger.

Barty recently won the ladies’ competition at her home club in Brookwater.