John IV was the King of Portugal and the Algarves from 1640 to his death.
Background
He was the grandson of Catherine, Duchess of Braganza, who had in 1580 claimed the Portuguese crown and sparked the struggle for the throne of Portugal. John was born at Vila Viçosa and succeeded his father Teodosio II as Duke of Braganza when the latter died insane in 1630. He married Luisa de Guzman (1613-1666), eldest daughter of Juan Manuel Pérez de Guzmán, 8th Duke of Medina Sidonia, in 1633.
Career
John IV was nicknamed John the Restorer (João o Restaurador). On the eve of his death in 1656, the Portuguese Empire reached its zenith, spanning the globe. He was one of the main forces behind the independence of Portugal after the Spanish dominance.
John had blond hair, blue eyes and an average height.
Succession He was raised to the throne of Portugal (of which he was held to be the legitimate heir) during the revolution on 1 December 1640, against King Philip III. Restoration War His accession led to a protracted war (the Portuguese Restoration War) with Spain, which only ended with the recognition of Portuguese independence in a subsequent reign (1668). Portugal signed lengthy alliances with France (1 June 1641) and Sweden (August 1641) but by necessity its only contributions in the Thirty Years" War were in the field against Spain and against Dutch encroachments on the Portuguese colonies.
In Spain, a Portuguese invasion force defeated the Spanish at Montijo, near Badajoz, in 1644. Imperial Recovery Abroad, the Dutch took Portuguese Malacca (January 1641) and the Sultan of Oman captured Muscat (1650).
Nevertheless the Portuguese, despite having to divide their forces among Europe, Brazil and Africa, managed to retake Luanda, in Portuguese Angola, from the Dutch in 1648 and, by 1654, had recovered northern Brazil, which effectively ceased to be a Dutch colony.
This was countered by the loss of Portuguese Ceylon (present day Sri Lanka) to the Dutch who took Colombo in 1656. John was a patron of music and the arts, and a considerably sophisticated writer on music In addition to this, he was a composer.
During his reign he collected one of the largest libraries in the world, but it was destroyed in the Lisbon earthquake of 1755.
Among his writings is a defense of Palestrina, and a Defense of Modern Music (Lisbon, 1649). One famous composition attributed to him is a setting of the Crux fidelis, a work that remains highly popular during Lent amongst church choirs.
However, no known manuscript of the work exists, and it was first published only in 1869, in France. On stylistic grounds, it is generally recognized that the work was written in the 19th century.