Read the following paragraph and extract the answer for the question: What is the name of the person that maintained his position as court painter?  Like other Spanish liberals, Goya was left in a difficult position after the French invasion. He had supported the initial aims of the French Revolution, and hoped its ideals would help liberate Spain from feudalism to become a secular, democratic political system. There were two conflicts being fought in Spain: the resistance against the French threat, and a domestic struggle between the ideals of liberal modernisation and the pre-political incumbent ruling class. The latter divide became more pronounced—and the differences far more entrenched—following the eventual withdrawal of the French.Several of Goya's friends, including the poets Juan Meléndez Valdés and Leandro Fernández de Moratín, were overt afrancesados: the supporters (or collaborators, in the view of many) of Joseph Bonaparte. He maintained his position as court painter, for which an oath of loyalty to Joseph was necessary. However, Goya had an instinctive dislike of authority, and witnessed first-hand the subjugation of his countrymen by French troops. During these years he painted little aside from portraits of figures from all parties, including an allegorical painting of Joseph Bonaparte in 1810, Wellington from 1812 to 1814, and French and Spanish generals. Meanwhile, Goya was working on drawings that would form the basis for The Disasters of War. He visited many battle sites around Madrid to witness the Spanish resistance. The final plates are testament to what he described as "el desmembramiento d'España"—the dismemberment of Spain.
A:
Goya