After five NBA titles, two NBA MVP awards, 15 All-­Star appearances and a spot on many lists as the greatest power forward of all time, San Antonio Spurs star Tim Duncan is calling it a career.

Duncan, who turned 40 in April, announced Monday that he is retiring from the NBA after 19 seasons, all with San Antonio.

His final game ended up being a 113-99 loss to the Oklahoma City Thunder in Game 6 of the Western Conference semifinals on May 12. Quiet for much of the series, Duncan showed flashes of his All-Star form in what turned out to be his career finale, with 19 points, five rebounds and a block in 34 minutes.

A four-year star at Wake Forest, Duncan was the No. 1 overall pick by the Spurs in the 1997 draft and made an immediate impact, winning the NBA Rookie of the Year award and earning All-NBA First-Team honors, the first of 10 selections in his career. He led the Spurs to a championship in his second season, in 1999, and was named Finals MVP.

He would go on to win four more titles, in 2003, 2005, 2007 and 2014, and was named Finals MVP twice more, in 2003 and 2005. San Antonio posted a win percentage of at least .600 in 19 straight seasons with Duncan, the longest such run in NBA history.