Peter II (Portuguese Pedro, (Portuguese pronunciation: [ˈpedɾu]), the Pacific (Port. o Pacífico) (April 26, 1648 – December 9, 1706), Regent (1668–1683) and 23rd (or 24th according to some historians) King of Portugal and the Algarves (1683–1706).
The youngest son of João IV and being created Duke of Beja, he was appointed regent for his insane brother, Afonso VI, in 1668, shortly after Spanish recognition of Portugal's independence. Peter first locked his brother away, but came to the throne in his own right after Afonso's death in 1683. Around this time, the discovery of gold mines in Brazil enlarged Peter's treasury to the extent that he was able to dismiss the Cortes in 1697 and rule without its revenue grants for the rest of his reign.