What events during the war undermined civil liberties?