Kammala wannan jumla: A shekara ta 1793, Spain ta yi yaƙi da sabuwar Jamhuriyar Faransa ta juyin juya hali a matsayin memba na
Ƙungiyar farko. Yaƙin Pyrenees da ya biyo baya ya rarraba ƙasar a cikin martani ga fitattun galicized kuma bayan shan kashi a fagen, an yi zaman lafiya da Faransa a 1795 a Zaman Lafiya na Basel wanda Spain ta rasa iko da kashi biyu bisa uku na tsibirin Hispaniola. Firayim Minista, Manuel Godoy, sannan ya tabbatar da cewa Spain ta haɗu da kanta tare da Faransa a cikin ɗan gajeren Yakin na Uku na Coalition wanda ya ƙare tare da nasarar jirgin ruwan Burtaniya a yakin Trafalgar a 1805. A shekara ta 1807, wata yarjejeniya ta asiri tsakanin Napoleon da firaministan da ba a so ya kai ga sabon sanarwar yaƙi da Biritaniya da Portugal. Sojojin Napoleon sun shiga kasar don mamaye Portugal amma a maimakon haka sun mamaye manyan sansanonin Spain. Sarkin Spain ya yi watsi da dan uwan Napoleon, Joseph Bonaparte.