 After Austria's defeat in the Austro-Prussian War of 1866, Mensdorff-Pouilly resigned his functions in November of that year.After his resignation, he was appointed commanding general in Zagreb and Prague.He married Alexandrine "Aline" von Dietrichstein (1824–1906), daughter of Joseph, 9th Prince von Dietrichstein (1798–1858), with whom he had children