 In 1824, Sotillo reached the rank of general, after fighting in several important campaigns during Venezuela's emancipation war.Later, after the withdrawal of Spanish royalists from Venezuelan territory, he became an important military leader in the recently created Republic of Colombia.After the failure of Gran Colombia, Venezuela became an independent Republic in 1830.