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
Altice Portugal buy Portugal Telecom. In November 2007, Portugal Telecom spun off its media assets (PT Multimédia), that included TV Cabo and Lusomundo Cinemas. In January 2008, the European Commission began legal proceedings against the Portuguese government over its 'golden share' in incumbent telecoms operator Portugal Telecom. The 500 golden shares with extended voting rights, allowing it to block potential takeover bids, were the reason for the Commission's legal action. Similarly, in November 2005, the Commission had forced the Spanish government to give up its golden share in the other telecommunications' major player in the Iberian Peninsula, the Spanish telecoms giant Telefónica.