The Potala Palace was the Dalai Lama's primary residence for several centuries.