By 1819, José María Barreiro, who was in charge of the royalist troops in New Granada, counted with at least 4,500 trained soldiers at his command (without including the troops scattered throughout the region).