In 1824, Lanark County was created from part of Carleton County. In 1838, Carleton County became part of a new Dalhousie District. In the same year, some townships were transferred from the Johnstown District to Lanark County.