this war was a disaster for both sides