Ould was also a
brigadier general in the
District of Columbia militia; in his role as United States Attorney, he advised Buchanan not to arm newly raised Unionist militia companies in the District. Following the
secession of Virginia in 1861, Ould decided to support the
Confederacy and moved with his family to
Richmond. Early in the war he was appointed to the
War Department as Assistant Secretary of War, serving under
Judah P. Benjamin. In July 1862 Ould was appointed as the chief agent of exchange under the terms of the
Dix–Hill Cartel, with the rank of colonel. In this position he was responsible for negotiating the exchange and treatment of prisoners of war with his
Union counterparts. He held the office for most of the remainder of the war, until he was succeeded by
William Norris in April 1865. During the war he also served as
judge advocate in Richmond and seems to have been a high-ranking official in the
Confederate Secret Service. == Postwar career ==