Safavid dynasty
During the Safavid dynasty, it was used as a palace by the Safavid Kings.