Note: Located near Spanish border; noted for strong fortifications; was established at time of Romans; taken by Portugal in 1226; flourished with addition of Moorish aqueduct, begun in 1498; center for Portuguese revolt against Spanish control in 1640.