The Hot Springs Palace was built by Emperor Taizong and a walled palace was added by Emperor Xuanzong in 747 A.D.