 It includes a palace or royal pavilion built by Sultan Moulay Ismail (ruled 1672-1727) at the end of the 17th century and serving today as a museum.Moulay Ismail was also responsible for settling the Udaya (or Oudaia) Arab tribe in the kasbah and in Rabat to serve as a counterbalancing force against other unruly tribes in the region, thus giving the kasbah its current name, Kasbah of the Udayas.Rabat (with the Kasbah included within it) was added to the UNESCO World Heritage Tentative List on July 20, 2006 in the Cultural category.