 However, the failed Napoleonic invasion resulted in Spain being led into a state of war, and he was unable to carry out any policy apart from helping the French forces of José I, brother of Napoleon, undertake an ineffective war against the Spanish people.Upon the French defeat, Urquijo fled along with Joseph I across the Pyrenees to France into exile, embracing the French nationality.Outlawed in Spain, he died in exile in Paris, in 1817.