In which year france caught up in a violent counter revolutionary war?