History of Portugal (1640–1777) put to the test in 1762 when Spain invaded aided by France, during the Seven Years' War. Britain invoked its alliance with Portugal and sent troops. Several months later, the conflict was settled with comparatively little fighting. In 1777, Spain and Portugal signed the Treaty of San Ildefonso, which mainly resolved a number of border disputes between their South American colonies. During the Age of Enlightenment, Portugal was considered one of Europe's unenlightened backwaters; it was a country of three million with 200,000 people in 538 monasteries in 1750. Melo seems to have been deeply embarrassed by Portugal's much lamented
Land use statistics by country wood or timber. Other lands are any lands not arable or under permanent crops; this includes permanent meadows and pastures, forests and woodlands, built-on areas, roads, barren land, etc. Percentage figures for arable land, permanent crops land and other lands are all taken from CIA World Factbook as well as total land area figures (note that total area of a country is a sum of total land area and total water area). All other figures, including total cultivated land area, are calculated on the basis of this mentioned data. Land use statistics by country This article includes the table with