Founded in 1471, as a small fortress which still exists to this day, Chefchaouen is situated in the Rif Mountains in northwest Morocco, just inland from Tangier and Tetouan. The name refers to the shape of the mountaintops above the town, that look like the two horns (chaoua) of a goat. Its distinct blue-rinsed houses and buildings, and its proximity to Tangier and Ceuta make it a popular tourist and filming destination.