He made his early studies at the Jesuit College of Schwyz, and at the Lyceum at Lucerne, where he became an enthusiastic student of history.
From 1847 to 1849 he studied theology and history at Freiburg in Baden and at Munich, and in 1850 was ordained priest at Solothurn.