Ex-All-Star David Lee, 34, retiring from NBA

Two-time All-Star David Lee announced his retirement from the NBA on Sunday via Instagram.

Lee, 34, played for 12 years, finishing last season with the Spurs. He averaged 7.3 points, 5.6 rebounds and 1.6 assists in 79 games for San Antonio.

Lee’s greatest success was with the Golden State Warriors from 2010 to 2015, when he averaged 16.7 points and 9.6 rebounds. He was named to the 2013 All-Star Game, becoming the Warriors’ first All-Star since Latrell Sprewell in 1997. By 2014-15, he was a highly paid role player on a Warriors championship team that featured stars Stephen Curry and Klay Thompson.

He was then traded to the Boston Celtics in the offseason. After being waived, he had stints in Dallas and San Antonio.

Lee was drafted by the New York Knicks with the 30th overall pick of the 2005 draft. He played with the Knicks for five seasons, often the best player on teams that were not very good. He also was named to the 2010 All-Star game.