What team won the most championships ever in NBA history?

The Boston Celtics have won the most championships. They have won 17.

And the Lakers come n 2nd with 16.