Don Gaspar de Guzmán y Pimentel, Count of Olivares and Duke of Sanlúcar (Gaspar de Guzmán y Pimentel, conde-duque de Olivares, also known as Conde de Olivares y duque de Sanlúcar la Mayor) (January 6, 1587 – July 22, 1645), was a Spanish royal favourite and minister.
For twenty-two years Olivares directed Spain's foreign policy. It was a period of constant war, and finally of disaster abroad and of rebellion at home. The Spaniards, who were too thoroughly monarchical to blame the king, held his favourite responsible for the misfortunes of the country. The count-duke became, and for long remained, in the opinion of his countrymen, the accepted model of a grasping and incapable favourite, though this opinion changed over the centuries. It would be unjust to blame Olivares alone for the decadence of Spain, which was due to internal causes of long standing. The gross errors of his policy — the renewal of the war with the Netherlands in 1621 (Eighty Years' War), the persistence of Spain in taking part in the Thirty Years' War, the lesser wars undertaken in northern Italy, and the entire neglect of all effort to promote the unification of the different states forming the peninsular kingdom — were shared by him with the king, the Church and the commercial classes.
When he had fallen from power he wrote an apology, in which he maintained that he had always wished to see more attention paid to internal government, and above all to the complete unification of Portugal with Spain. But if this was not an afterthought, he must, on his own showing, stand accused of having carried out during long years a policy which he knew to be disastrous to his country, rather than risk the loss of the king's favour and of his place. Olivares did not share the king's taste for art and literature, but he formed a vast collection of state papers, ancient and contemporary, which he endeavoured to protect from destruction by entailing them as an heirloom. He also formed a splendid aviary which, under the name of the "hencoop," was a favourite subject of ridicule with his enemies. Towards the end of his period of favour he caused great offence by legitimizing a supposed bastard son of very doubtful paternity and worthless personal character, and by arranging a rich marriage for him.
The fall of Olivares was immediately due to the revolts of Portugal and Catalonia in 1640. The king parted with him reluctantly, and only under the pressure of a strong court intrigue headed by Queen Isabella. It was noted with anxiety by his enemies that he was succeeded in the king's confidence by his nephew the count of Haro. There remains, however, a letter from the king, in which Philip tells his old favourite, with frivolous ferocity, that it might be necessary to sacrifice his life in order to avert unpopularity from the royal house. Olivares was driven from office in 1643. He retired by the king's order to Toro. Here he endeavoured to satisfy his passion for activity, partly by sharing in the municipal government of the town and the regulation of its commons, woods and pastures, and partly by the composition of the apology he published under the title of El Nicandro, which was perhaps written by an agent, but was undeniably inspired by the fallen minister. El Nicandro was denounced to the Inquisition, and it is not impossible that Olivares might have ended in the prisons of the Holy Office, or on the scaffold, if he had not died beforehand of natural causes. According to biographer J. H. Elliott, Olivares underwent mental disturbance during his last years.