Note: Located near border with France; given charter of rights & privileges by Sancho the Wise of Navarre ca. 1160-1190; burned during Peninsular War after Anglo-Portuguese forces captured town from French 1813; former summer residence of Spanish Royal Court.