 King John followed a federalistic and pro-Austrian policy throughout the early 1860s until the outbreak of the Austro-Prussian War.During that war, Prussian troops overran Saxony without resistance and then invaded Austrian (today's Czech) Bohemia.After the war, Saxony was forced to pay an indemnity and to join the North German Confederation in 1867.