In 1821, the Gran Colombian army won a decisive victory at the second Battle of Carabobo, after which the only cities in the hands of the royalist forces were Cumaná, which fell shortly thereafter, and Puerto Cabello, which managed to resist a siege before finally capitulating in October 1823.