The Austro-Prussian War, fought in 1866, was a conflict between the Kingdom of Prussia and the Austrian Empire that led to the end of Austrian influence over German affairs and paved the way for German unification under Prussian leadership. This war was fueled by rising nationalism among various German states and the desire for a more liberal political order, contrasting with Austria's conservative approach to governance.