Due to its beauty and cooler climate, Sintra became a favorite of the Royalty and the nobility, who started to build their palaces and summer residences here. The Moors, who invaded the peninsula in the 700's AD also built several fortifications here, including the only castle in town: Castelo dos Mouros.