Middlesex is one of the historic counties of England. It includes the City of London within its territory, although the city was self-governing from the 13th Century. In 1889 the administrative area of Middlesex was substantially reduced by the creation of the County of London, which also took in parts of Surrey and Kent. In 1965, Middlesex was abolished for administrative purposes and most of its territory was added to Greater London. Two small parts of Middlesex did not join Greater London: the Potters Bar Urban District became administratively part of Hertfordshire, whilst the Staines and Sunbury Urban Districts became administratively part of Surrey.
Middlesex (abbreviation: Middx) was a county in southeast England, that is now mostly part of Greater London, with small sections in neighbouring counties. It was established in the Anglo-Saxon system from the territory of the Middle Saxons. The historic county included land stretching north of the River Thames from east to west of the City of London with the rivers Colne, Lea and a ridge of hills as the other boundaries. The largely low-lying county, dominated by clay in its north and alluvium on gravel in its south, was the second smallest by area in 1831.
The City of London was a county in its own right from the 12th century and was able to exert political control over Middlesex. Westminster Abbey dominated most of the early financial, judicial and ecclesiastical aspects of the county. As London grew into Middlesex, the Corporation of London resisted attempts to expand the city boundaries into the county, which posed problems for the administration of local government and justice. In the 18th and 19th centuries the population density was especially high in the southeast, including the East End and West End of London. From 1855 the southeast was administered with sections of Kent and Surrey as part of the area of the Metropolitan Board of Works. When county councils were introduced in England in 1889 about 20% of the area of Middlesex, along with a third of its population, was transferred to the new County of London and the remainder became an administrative county governed by the Middlesex County Council that met regularly at the Middlesex Guildhall in Westminster, in the County of London. The City of London and Middlesex became separate counties for other purposes and Middlesex regained the right to appoint their own sheriff, lost in 1199.
In the interwar years suburban London further expanded, with improvement and expansion of public transport, and the setting up of new industries. After the Second World War, the population of the County of London and inner Middlesex was in steady decline, with high population growth continuing in the outer parts. After a Royal Commission on Local Government in Greater London, almost all of the original area was incorporated into an enlarged Greater London in 1965, with the rest transferred to neighbouring counties. Since 1965 various areas called Middlesex have been used for cricket and other sports. Middlesex is the former postal county of 25 post towns.