Philip IV (Spanish: Felipe, Portuguese: Filipe; 8 April 1605 – 17 September 1665) was King of Spain and (as Philip III) Portugal.
He ascended the thrones in 1621 and reigned in Portugal until 1640.
Philip is remembered for his patronage of the arts, including such artists as Diego Velázquez, and his rule over Spain during the Thirty Years' War.
By the time of his death in 1665, the Spanish Empire had reached approximately 12.2 million square kilometers (4.7 million square miles) in area but in other respects was in decline, a process to which Philip contributed with his inability to achieve successful domestic and military reform.