Philip IV was the king of Spain and Portugal (as Philip III) in the 17th century. Shortly after he came to power in 1621, the conflicts against the Dutch that were rampant in his father's reign, resumed. Even though Philip was an intelligent ruler, he relied too much on his ministers. This eventually resulted in several failures. One of his favorite ministers, Olivares, not only influenced Philip's political decision but controlled his personal life, too. The two had an amicable start, but with time, repeated failed policies and campaigns, along with the jealousy of fellow noblemen in his court, resulted in Olivares's removal. Unfortunately, Spain was neck-deep in adversity, and none of Philip's subsequent ministers could alter the situation. Philip's inability to bring in domestic and military reforms to Spain caused its decline.