The national myth was mobilising against a foreign army and against collaborationist with José Bonaparte, regarded as non-Spanish (afrancesados).