The Argentine War of Independence was fought from 1810 to 1818 by Argentine patriotic forces under Manuel Belgrano, Juan José Castelli and José de San Martín against royalist forces loyal to the Spanish crown.