The victory secured independence from Spain.
After they won they were independent from Spain.