Rabat, the capital city of Morocco, is not only known for its historical significance but also for its stunning coastal location. Situated on the Atlantic Ocean at the mouth of the Bou Regreg River, Rabat offers picturesque views and a pleasant climate. The city's strategic position opposite Salé, its main commuter town, has contributed to its growth and development over the centuries. Founded by the Almohads in the 12th century, Rabat initially flourished but later experienced a period of decline following the collapse of the Almohad dynasty. However, in the 17th century, Rabat gained a notorious reputation as a haven for Barbary pirates, who used the city as a base for their operations. The French played a significant role in shaping Rabat's modern history. In 1912, they established a protectorate over Morocco and designated Rabat as their administrative center. This decision further enhanced the city's importance and laid the foundation for its future as the capital of an independent Morocco, which it became in 1955. Today, Rabat, along with its neighboring cities of Temara and Salé, forms a bustling metropolitan area with a population of over 1.8 million people. In addition to its economic significance, Rabat is a major tourist destination in Morocco. In fact, CNN ranked Rabat as the second top travel destination in 2013. The city's inclusion as one of the four imperial cities of Morocco, alongside Fez, Marrakesh, and Meknes, further highlights its historical and cultural significance. Notably, the medina of Rabat, with its charming narrow streets and historic landmarks, has been recognized as a UNESCO World Heritage Site, attracting visitors from around the world.