Answer
John IV's death, in 1656, was statistically significant for Portugal as it marked the end of the Portuguese Restoration War and secured Portugal's independence from the Spanish Habsburgs, restoring the throne to the House of Braganza. This victory was crucial for Portugal as it allowed the country to maintain its sovereignty, territorial integrity, and global empire, which had been at risk during the war.