Seven Years' War: The British capture Quebec City.

Quebec City ( (listen) or ; French: Ville de Qubec), officially Qubec ([kebk] (listen)), is the capital city of the Canadian province of Quebec. As of July 2021, the city had a population of 549,459, and the metropolitan area had a population of 839,311. It is the eleventh-largest city and the seventh-largest metropolitan area in Canada. It is also the second-largest city in the province after Montreal. It has a humid continental climate with warm summers coupled with cold and snowy winters.

The Algonquian people had originally named the area Kbec, an Algonquin word meaning "where the river narrows", because the Saint Lawrence River narrows proximate to the promontory of Quebec and its Cape Diamant. Explorer Samuel de Champlain founded a French settlement here in 1608, and adopted the Algonquin name. Quebec City is one of the oldest European cities in North America. The ramparts surrounding Old Quebec (Vieux-Qubec) are the only fortified city walls remaining in the Americas north of Mexico. This area was declared a World Heritage Site by UNESCO in 1985 as the "Historic District of Old Qubec".The city's landmarks include the Chteau Frontenac hotel that dominates the skyline and the Citadelle of Quebec, an intact fortress that forms the centrepiece of the ramparts surrounding the old city and includes a secondary royal residence. The National Assembly of Quebec (provincial legislature), the Muse national des beaux-arts du Qubec (National Museum of Fine Arts of Quebec), and the Muse de la civilisation (Museum of Civilization) are found within or near Vieux-Qubec.

The Seven Years' War (1756–1763) was a global conflict between Great Britain and France for global pre-eminence. In Europe, the conflict arose from issues left unresolved by the War of the Austrian Succession (1740–1748), with Prussia seeking greater dominance. Long-standing colonial rivalries pitting Britain against France and Spain in North America and the Caribbean islands were fought on a grand scale with consequential results. In Europe, the war broke out over territorial disputes between Prussia and Austria, which wanted to regain Silesia after it was captured by Prussia in the previous war. Britain, France and Spain fought both in Europe and overseas with land-based armies and naval forces, while Prussia sought territorial expansion in Europe and consolidation of its power.

In a realignment of traditional alliances, known as the Diplomatic Revolution of 1756, Prussia became part of a coalition led by Britain, which also included long-time Prussian competitor Hanover, at the time in personal union with Britain. At the same time, Austria ended centuries of conflict by allying with France, along with Saxony, Sweden and Russia. Spain aligned formally with France in 1762. Spain unsuccessfully attempted to invade Britain's ally Portugal, attacking with their forces facing British troops in Iberia. Smaller German states either joined the Seven Years' War or supplied mercenaries to the parties involved in the conflict.

Anglo-French conflict over their colonies in North America had begun in 1754 in what became known in the United States as the French and Indian War, a nine-year war that ended France's presence as a land power. It was "the most important event to occur in eighteenth-century North America" prior to the American Revolution. Spain entered the war in 1761, joining France in the Third Family Compact between the two Bourbon monarchies. The alliance with France was a disaster for Spain, with the loss to Britain of two major ports, Havana in the Caribbean and Manila in the Philippines, returned in the 1763 Treaty of Paris between France, Spain and Great Britain. In Europe the large-scale conflict that drew in most of the European powers was centered on the desire of Austria (long the political centre of the Holy Roman Empire of the German nation) to recover Silesia from Prussia. The Treaty of Hubertusburg ended the war between Saxony, Austria and Prussia, in 1763. Britain began its rise as the world's predominant colonial and naval power. For a time France's supremacy in Europe was halted until after the French Revolution and the emergence of Napoleon Bonaparte. Prussia confirmed its status as a great power, challenging Austria for dominance within the German states, thus altering the European balance of power.