CLEVELAND, OH - JUNE 16: Draymond Green #23 David Lee #10 and Andrew Bogut #12 of the Golden State Warriors celebrates with team owners Peter Guber and Joe Lacob and the Larry O'Brien NBA Championship Trophy after defeating the Cleveland Cavaliers 105 to 97 to win Game Six of the 2015 NBA Finals at Quicken Loans Arena on June 16, 2015 in Cleveland, Ohio. NOTE TO USER: User expressly acknowledges and agrees that, by downloading and or using this photograph, user is consenting to the terms and conditions of Getty Images License Agreement. (Photo by Ezra Shaw/Getty Images)

Former NBA champion and two-time All-Star announces retirement

Congrats on a stellar career.

NBA veteran forward David Lee announced his retirement via Instagram on Sunday.

Videos by FanBuzz

Lee, who played for the San Antonio Spurs last season, shared a photo of himself, fiancée Caroline Wozniacki, family and friends celebrating a surprise retirement party from the previous night.

"An epic night celebrating my retirement with my friends and family!" the 34-year-old wrote with pictures of the display and his group of revelers," Lee wrote in the caption of the photo. "Thank you to my amazing fiancée [Caroline Wozniacki] for planning the surprise!"

Lee, 34, spent 14 seasons in the NBA, most notably with the New York Knicks (2005-2010) and Golden State Warriors (2010-15), as well as the Boston Celtics (2015-16), Dallas Mavericks (2015-16), before joining the Spurs prior to last season.

The former first-round pick averaged 13.5 points and 8.8 rebounds during the regular season, as well as 5.6 points and 4.4 rebounds during the postseason as a member of the Warriors, Mavericks and Spurs.

Lee was a two-time all-star during his stint with the Knicks in 2010 and 2013 and won an NBA championship with Golden State in 2015.