Medieval
Oxford was first settled in the Anglo-Saxon period and was initially known as Oxenaforda, meaning "ford of the oxen". According to the Anglo-Saxon Chronicle, the town was first recorded in 912, when Edward the Elder took control of London and Oxford and all the lands that owed obedience to them. Oxford began with the establishment of a river crossing for oxen around 900, and it grew in strategic importance as a burh (fortified town) on the border between the kingdoms of Mercia and Wessex, defending against Danish raids. According to tradition, St Frideswide founded a nunnery in Oxford in the 8th century, and she is regarded as the city's patron saint.
In 1002, during the St Brice's Day massacre ordered by Æthelred the Unready, a group of Danes in Oxford sought refuge in the church of St Frideswide, which was subsequently burned down by the townspeople. The town was heavily damaged during the Norman Conquest of 1066. Following the conquest, the town was assigned to a Norman governor, Robert D'Oyly, who ordered the construction of Oxford Castle in 1071 to confirm Norman authority over the area. D'Oyly also established a monastic community in the castle consisting of a chapel and living quarters for monks, and later Osney Abbey (1129) and Rewley Abbey were founded nearby. During The Anarchy, Empress Matilda was besieged in Oxford Castle by King Stephen in 1142, famously escaping across the frozen river dressed in white to blend in with the snow.
Oxford's prestige was enhanced by its charter granted by Henry II, which gave its citizens the same privileges and exemptions as those enjoyed by the capital of the kingdom. Various important religious houses were founded in or near the city. A grandson of King John established Rewley Abbey for the Cistercians, and friars of various orders (Dominicans, Franciscans, Carmelites, Augustinians and Trinitarians) all had houses of varying importance at Oxford. Parliaments were often held in the city during the 13th century, and the Provisions of Oxford were instigated by a group of barons led by Simon de Montfort in 1258; these documents are often regarded as England's first written constitution.
The University of Oxford is first mentioned in 12th-century records, with evidence of teaching as early as 1096. It expanded rapidly from 1167 when Henry II banned English students from attending the University of Paris. Of the hundreds of academic halls that sprang up across the city, only St Edmund Hall (c. 1225) remains. What put an end to the halls was the emergence of colleges. Oxford's earliest colleges were University College (1249), Balliol (1263) and Merton (1264). These colleges were established at a time when Europeans were starting to translate the writings of Greek philosophers, which challenged European ideology and inspired scientific discoveries and advancements in the arts.
The relationship between "town and gown" has often been uneasy. On 10 February 1355, a dispute in a tavern escalated into the St Scholastica Day riot, which lasted three days and resulted in the deaths of around 63 scholars and 30 locals. In the aftermath, the university was granted greater authority over the town, and the Mayor and bailiffs were required to attend a service of penance every year on St Scholastica's Day, a custom that continued until 1825. The sweating sickness epidemic in 1517 was particularly devastating to Oxford and Cambridge, killing half of both cities' populations, including many students and dons.
Early modern
Christ Church Cathedral, Oxford is unique in combining a college chapel and a cathedral in one foundation. Originally the Priory Church of St Frideswide, the building was extended and incorporated into the structure of the Cardinal's College shortly before its refounding as Christ Church in 1546, since when it has functioned as the cathedral of the Diocese of Oxford. Oxford was granted city status in 1542, when the diocese was created by Henry VIII.
The Oxford Martyrs were tried for heresy in 1555 and subsequently burned at the stake, on what is now Broad Street, for their religious beliefs and teachings during the reign of Queen Mary I. The three martyrs were the bishops Hugh Latimer and Nicholas Ridley, and the Archbishop of Canterbury Thomas Cranmer. The Martyrs' Memorial stands nearby, round the corner to the north on St Giles'.
During the English Civil War, Oxford housed the court of Charles I from 1642 to 1646, after the king was expelled from London. The city became the Royalist capital and was heavily fortified. Following the Siege of Oxford, the city surrendered to Parliamentarian forces under General Thomas Fairfax in June 1646. Oxford later housed the court of Charles II during the Great Plague of London in 1665–66, and Charles II also summoned the Oxford Parliament to the city in 1681.
In 1790, the Oxford Canal connected the city with Coventry, providing a vital link to the Midlands coalfields and boosting local trade and industry.
Late modern
The Duke's Cut was completed by the Duke of Marlborough in 1789 to link the new canal with the River Thames, and in 1796 the Oxford Canal company built its own link to the Thames at Isis Lock. In 1844, the Great Western Railway linked Oxford with London via Didcot and Reading, and other rail routes soon followed, including the London and North Western Railway line to Bletchley in 1851.
In the 19th century, the Oxford Movement in the Church of England drew attention to the city as a focus of theological thought, led by figures such as John Henry Newman, John Keble and Edward Bouverie Pusey.
Local government in Oxford was reformed by the Municipal Corporations Act 1835, and the boundaries of the borough were extended to include a small area east of the River Cherwell. The boundaries were further extended in 1889 to add the areas of Grandpont and New Hinksey, south of the Thames, which were transferred from Berkshire to Oxfordshire. At the same time, Summertown and the western part of Cowley were also added to the borough. In 1889, Oxford became a county borough.
Oxford Town Hall was built by Henry Hare; the foundation stone was laid on 6 July 1893 and it was opened by the future Edward VII on 12 May 1897. The site has been the seat of local government since the Guild Hall of 1292, and although Oxford is a city and a Lord Mayoralty, the building is still called by its traditional name of "Town Hall".
During the early 20th century, Oxford experienced rapid industrial and population growth, with the printing and publishing industries (notably Oxford University Press) becoming well established by the 1920s. Also in 1910, William Morris established Morris Motors to mass-produce cars in Cowley, on the south-eastern edge of the city. By the early 1920s, the economy and society of Oxford were undergoing huge transformation, as Morris's car factory and the neighbouring Pressed Steel Company (established in 1926) attracted thousands of workers from across the United Kingdom, particularly from South Wales and the north of England. This led to a sharp social divide between the historic university city and the industrial suburb of Cowley, famously symbolised by the Cutteslowe Walls, erected in 1934 to separate a private housing estate from a neighbouring council estate (and finally demolished in 1959).
During the Second World War, Oxford was largely ignored by the Luftwaffe air raids, perhaps due to the lack of heavy industry such as steelworks or shipbuilding that would have made it a target, although the Cowley factories were converted to repair aircraft and manufacture munitions. The city became a haven for refugees and academics fleeing London and other cities.
Contemporary
In the 1970s and 1980s, Oxford's car industry suffered heavily during the wider decline of British Leyland, which had absorbed Morris Motors. Strikes, industrial disputes and factory closures led to significant job losses in Cowley. However, car manufacturing continued on a smaller scale; BMW acquired the Cowley plant (now Plant Oxford) and began producing the redesigned Mini there in 2001.
Under the Local Government Act 1972, Oxford lost its county borough status in 1974 and became a non-metropolitan district within Oxfordshire. In 1992, the Oxford Polytechnic was granted university status and became Oxford Brookes University, giving the city a second major university.
The influx of migrant labour to the car plants and hospitals, recent immigration from South Asia, and a large student population have given Oxford a notably cosmopolitan character, especially in the Headington and Cowley Road areas with their many bars, cafés, restaurants, clubs, ethnic shops and fast food outlets.
In the late 20th and early 21st centuries, Oxford's economy diversified further into science, information technology, publishing and tourism, supported by the development of Oxford Science Park and Begbroke Science Park. In 2020, during the COVID-19 pandemic, researchers at the University of Oxford's Jenner Institute partnered with AstraZeneca to develop the Oxford–AstraZeneca COVID-19 vaccine, one of the first vaccines against COVID-19.