Complex sentence: The people of San Martin and O'Higgins were caught by surprise, winning the battle known as a surprise because the independence troops did not react immediately.
Split into simpler sentences: The people of San Martin and O'Higgins were caught by surprise. Winning the battle was known as a surprise because the independence troops did not react immediately.