Aftermath of the Battle of Chacabuco:
The communication problem between O'Higgins and Soler caused a bit of a flap, but it died down quickly as the battle had been a huge victory in spite of their lack of co-ordination. O'Higgins' bold attack was attributed to his great love for his country (although he said he charged because he did not want his division to be pinned up against a rocky hill where retreat would be difficult).
With the royalist army crushed, Spanish and royalists fled Santiago, where O'Higgins and San Martín were welcomed by a happy populace. Marcó del Ponte, the Spanish governor, was captured trying to flee. He would later be jailed and was killed while trying to escape in 1819. San Bruno, who was loathed by the people of Santiago, was hanged, but not before being beaten within an inch of his life by enraged citizens.
San Martín put O'Higgins in charge of establishing a new Chilean government and began preparations for an invasion of Peru.
But the Spanish weren't through. There were still Spanish and royalist forces in the south, and it wasn't until the Battle of Maipú on April 5, 1818, that the royalists were decisively defeated in Chile.
Concha Cruz, Alejandor and Maltés Cortés, Julio. Historia de Chile Santiago: Bibliográfica Internacional, 2008.
Harvey, Robert. Liberators: Latin America's Struggle for Independence Woodstock: The Overlook Press, 2000.
Herring, Hubert. A History of Latin America From the Beginnings to the Present.. New York: Alfred A. Knopf, 1962
Lynch, John. The Spanish American Revolutions 1808-1826 New York: W. W. Norton & Company, 1986.
Rock, David. Argentina 1516-1987: From Spanish Colonization to Alfonsín. Berkeley: the University of California Press, 1987
Scheina, Robert L. Latin America's Wars, Volume 1: The Age of the Caudillo 1791-1899 Washington, D.C.: Brassey's Inc., 2003.