candidate: After a period of unrest with repeated violent clashes such as the Züriputsch of 1839 , civil war broke out in 1847 when some of the Catholic cantons tried to set up a separate alliance ( the " Sonderbundskrieg " ) .