What was the result of the War of Independence?