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
Poland–Russia border border is 232 km long. For most of this length, the Polish side is in the Warmian-Masurian Voivodeship; the extreme east is in the Podlaskie Voivodeship, and the westernmost segment (on the Vistula Spit) in the Pomeranian Voivodeship. 210 km of the border is land and 22 km is sea. The official demarcation of the boundary was finalized March 5, 1957, in the following terms: When Poland joined the European Union in 2004, this border became one of the borders between the European Union and the non-EU countries. It is one of the five borders that Russia shares with the