qnli question: What did Catholic cantons attempt to set up which caused a civil war in 1839? sentence: After a period of unrest with repeated violent clashes such as the Züriputsch of 1839, civil war (the Sonderbundskrieg) broke out in 1847 when some Catholic cantons tried to set up a separate alliance (the Sonderbund).