Napoleon’s difficulties in Spain can be attributed to
his favorable treatment of the Catholic Church, which turned nobles against him.
his favorable treatment of the nobility, which turned the middle class against him.
ecclesiastical reforms, which angered the Church and, therefore, the nobility.
his favorable treatment of peasants, which alienated landowners.
the fact that the king of Spain escaped to Brazil and continued fighting the French army.