The Third Department of the Imperial Chancery, responsible for state security, was run by the former cavalry general Count Alexander von Benckendorff (1781–1844), a Baltic German nobleman and brother of the international socialite Dorothea von Lieven (1785–1857), who had once enjoyed notoriety in a much-publicized affair with Metternich.