Professional golfer Patrick Reed apologized for the choice words he used when demonstrating his frustration at the HSBC Champions in Shanghai.

The Associated Press noted that Reed took to Twitter to apologize for his tirade which included an anti-gay slur and two F-bombs. The language was picked up on a live telecast of the World Golf Championship event.

The 24-year-old cursed after he missed a 5-foot putt and ended up with a three-putt bogey on the 10th hole.

Immediately after the microphones captured the foul language, Golf Channel analyst Frank Nobilo apologized to the viewing audience.

Reed is second person in golf having to offer a public mea culpa in the past two weeks. Former PGA of America President Ted Bishop apologized and was fired after comments he made comparing golfer Ian Poulter to a “little school girl squealing during recess.”

It has not yet been announced what discipline, if any, Reed will receive.

The golfer turned pro in 2011 and his most notable win came when he won the 2014 WGC-Cadillac Championship.