Leh Palace was built during the 17th century by the ruler King Sengge Namgyal. Its construction is on the same lines as the construction of the Potala Palace in Lhasa, Tibet. This palace had to be deserted by the royal family in the middle of the 19th century, because of the taking over of Ladakh by Dogra forces. After this the royal family is living in-exile in the popular Stok Palace. The Archaeological Survey of India (ASI) is restoring some of the ruined portions of this nine-storey palace. While the store rooms were on the lower floors, the royalty resided on the upper floors. The roof of this palace offers an excellent view of the valley.