The pavilion was built during the 16th century Saadi dynasty and renovated in 1869 by sultan Abderrahmane of Morocco, who used to stay here in summertime.