Though some Roman settlements found place in Roman times. Liège was first recorded in writing in 558. Probably about 705, St. Lambert, who completed the conversion of the pagans in the region, was murdered at Liège, named at that time Vicus Leudicus, and he was popularly regarded as a martyr. His successor, St. Hubert, built, to enshrine his relics, a basilica which became the true nucleus of the city, and near which the residence of the bishops was fixed. The city, and the surrounding province, has been the capital of a prince-bishopric from 985 till 1794. The first prince-bishop Notger made of the city a major intellectual and ecclesiastical centre which maintained its cultrural importance during the Middle Ages and was renowned for its many churches (the oldest of which, St Martin's, dates from 682). Although nominally part of the Holy Roman Empire, in practice it possessed a large degree of independence.
The strategic position of Liège has made it a frequent target of armies and insurgencies over the centuries. It was fortified early on with a castle on the steep hill that overlooks the city's western side. In 1345, the citizens of Liège rebelled against Prince-Bishop Engelbert de la Marck, their ruler at the time, and defeated him in battle near the city. After a rebellion against rule from Burgundy, King Louis XI of France and Duke Charles the Bold of Burgundy captured and largely destroyed the city in 1468, after a bitter siege which was ended with a successful surprise attack. Liège was technically part of the Holy Roman Empire and after 1477, the city came under the rule of the Habsburgs and, after 1555, under Spanish sovereignty, although its immediate rule remained in the hands of its prince-bishops and maintained a high degree of independence. The reign of Erard de la Marck coincides with the Renaissance Liégeoise. The diocese of Liège was later on during Counter-Reformation split and progressively lost its role as a regional power. Several prince-bishops came from the Holy Roman Empire, they were prince-bishops of Cologne and other bishoprics in the northwest of the Holy Roman Empire as well.
The Duke of Marlborough captured the city from the Bavarian prince-bishop and his French allies in 1704 during the War of the Spanish Succession. In the middle of the eighteenth century the ideas of the French encyclopedists began to be received at Liège; Bishop de Velbruck (1772-84), encouraged their propagation and thus prepared the way for the Revolution Liégeoise, which burst upon the episcopal city on 18 August, 1789. In the course of the Campaigns of 1794 of the French Revolution, the French army took the city and imposed a harsh and strongly anticlerical regime, destroying the great cathedral of Saint Lambert in 1794. The disparition of the prince-bishopric was confirmed in 1801 by the Concordat co-signed by Napoléon Bonaparte and Pope Pius VII. France lost the city in 1815 when the Congress of Vienna awarded it to the United Kingdom of the Netherlands. Dutch rule lasted only until 1830, when the Belgian Revolution led to the establishment of an independent, Catholic and neutral Belgium which incorporated Liège. After this, Liège developed rapidly into a major industrial city which became one of continental Europe's first large-scale steelmaking centres.
Chapi