During the struggle against Napoleon he took the patriotic side, was elected deputy, and at Cadiz produced his first play, Lo que puede un empleo, a prose comedy in the manner of the younger Leandro Fernández de Moratín.
During the next three years he was the most unpopular man in Spain; denounced as a revolutionist by the Conservatives and as a reactionary by the Liberals, he alienated the sympathies of all parties, and his rhetoric earned for him the contemptuous nickname of Rosita la Pastelera (Rosie the compromiser/cake maker).
[3] He was ambassador at Paris in 1839–1840 and at Rome in 1842–1843, joined the Conservative party, held many important offices, and was president of congress and director of the Royal Spanish Academy at the time of his death, which took place at Madrid on 7 February 1862.
It was his misfortune to be in place without real power, to struggle against a turbulent pseudo-democratic movement promoted by unscrupulous soldiers, and to contend with the intrigues of the king, the court camarilla and the clergy.
He was not a great natural force; his early plays and poems are influenced by Leandro Moratín or by Juan Meléndez Valdés; his Espíritu del siglo (1835) is a summary of all the commonplaces concerning the philosophy of history; his Doña Isabel de Solís (1837–1846) is an imitation of Walter Scott's historical novels.