 The county had parliamentary representation from the 13th century.The title Earl of Middlesex was created twice, in 1622 and 1677, but became extinct in 1843.The economy of the county was dependent on the City of London from early times and was primarily agricultural.