Danny Ainge has announced he is retiring as president of basketball operations for the Boston Celtics, with head coach Brad Stevens promoted to the role.

Ainge is the only person to win NBA championships as both a player and general manager with the Celtics, who confirmed his departure on Wednesday.

The 62-year-old was at the helm of Boston's last title-winning team, back in 2008, and hired Stevens from Butler University to replace Doc Rivers.

However, after a tough season for the Celtics came to an end with a 4-1 series defeat to the Brooklyn Nets in the first round of the playoffs, Ainge has decided to leave his post.

Stevens, who has been the coach for the past eight seasons, will move up to take over from Ainge in the front office, meaning he will oversee hiring his own replacement to lead the team on the bench.

"Helping guide this organisation has been the thrill of a lifetime, and having worked side-by-side with him since he's been here, I know we couldn't be in better hands than with Brad guiding the team going forward," said Ainge in a statement released by the Celtics.

"I'm grateful to ownership, all of my Celtics colleagues, and the best fans in basketball for being part of the journey."

During Ainge's 18-year stint managing the Celtics, Boston made 15 playoff appearances and reached the Eastern Conference Finals seven times.

Their championship triumph in 2008 was one of two trips to the NBA Finals, while it was their first title since 1986. Since that successful season, Boston have won more playoff games than any other NBA franchise.