Question: What abolished slavery throughout the empire emerging as the strongest country in the world as a result of the Napoleonic wars?

full_context: Document 1: Spanish Empire: Napoleon Bonaparte's invasion of Iberia, forcing the abdication of Charles IV and replacing him with Bonaparte's brother Joseph, produced unforeseen changes in Spain and its overseas empire. The outbreak of the Spanish American wars of independence was a result of Napoleon's destabilizing actions in Spain and led to the fragmentation of the former viceroyalties into independent nation - states. Royal government disappeared and local strongmen emerged in the Spanish American republics in the wake of these wars.
Document 2: New York City: Under New York State's gradual abolition act of 1799, children of slave mothers were born to be eventually liberated but were held in indentured servitude until their mid-to-late twenties. Together with slaves freed by their masters after the Revolutionary War and escaped slaves, a significant free-black population gradually developed in Manhattan. Under such influential United States founders as Alexander Hamilton and John Jay, the New York Manumission Society worked for abolition and established the African Free School to educate black children. It was not until 1827 that slavery was completely abolished in the state, and free blacks struggled afterward with discrimination. New York interracial abolitionist activism continued; among its leaders were graduates of the African Free School. The city's black population reached more than 16,000 in 1840.
Document 3: Germans: The Napoleonic Wars were the cause of the final dissolution of the Holy Roman Empire, and ultimately the cause for the quest for a German nation state in 19th-century German nationalism. After the Congress of Vienna, Austria and Prussia emerged as two competitors. Austria, trying to remain the dominant power in Central Europe, led the way in the terms of the Congress of Vienna. The Congress of Vienna was essentially conservative, assuring that little would change in Europe and preventing Germany from uniting. These terms came to a sudden halt following the Revolutions of 1848 and the Crimean War in 1856, paving the way for German unification in the 1860s. By the 1820s, large numbers of Jewish German women had intermarried with Christian German men and had converted to Christianity. Jewish German Eduard Lasker was a prominent German nationalist figure who promoted the unification of Germany in the mid-19th century.
Document 4: British Empire: Two years later, the Royal African Company was inaugurated, receiving from King Charles a monopoly of the trade to supply slaves to the British colonies of the Caribbean. From the outset, slavery was the basis of the British Empire in the West Indies. Until the abolition of the slave trade in 1807, Britain was responsible for the transportation of 3.5 million African slaves to the Americas, a third of all slaves transported across the Atlantic. To facilitate this trade, forts were established on the coast of West Africa, such as James Island, Accra and Bunce Island. In the British Caribbean, the percentage of the population of African descent rose from 25 percent in 1650 to around 80 percent in 1780, and in the 13 Colonies from 10 percent to 40 percent over the same period (the majority in the southern colonies). For the slave traders, the trade was extremely profitable, and became a major economic mainstay for such western British cities as Bristol and Liverpool, which formed the third corner of the so-called triangular trade with Africa and the Americas. For the transported, harsh and unhygienic conditions on the slaving ships and poor diets meant that the average mortality rate during the Middle Passage was one in seven.
Document 5: Protestantism: Also, other human rights were advocated for by some Protestants. For example, torture was abolished in Prussia in 1740, slavery in Britain in 1834 and in the United States in 1865 (William Wilberforce, Harriet Beecher Stowe, Abraham Lincoln - against Southern Protestants). Hugo Grotius and Samuel Pufendorf were among the first thinkers who made significant contributions to international law. The Geneva Convention, an important part of humanitarian international law, was largely the work of Henry Dunant, a reformed pietist. He also founded the Red Cross.
Document 6: Slave Trade Act 1807: The Slave Trade Act 1807, officially An Act for the Abolition of the Slave Trade, was an Act of the Parliament of the United Kingdom prohibiting the slave trade in the British Empire. Although it did not abolish the practice of slavery, it did encourage British action to press other nations states to abolish their own slave trades.
Document 7: Baptists: Elsewhere in the Americas, in the Caribbean in particular, Baptist missionaries took an active role in the anti-slavery movement. In Jamaica, for example, William Knibb, a prominent British Baptist missionary, worked toward the emancipation of slaves in the British West Indies (which took place in 1838). Knibb also protagonised the creation of "Free Villages"; rural communities centred around a Baptist church where emancipated slaves could farm their own land. Baptists were likewise active in promoting the education of former slaves; for example, Jamaica's Calabar High School, named after the slave port of Calabar, was formed by Baptist missionaries. At the same time, during and after slavery, slaves and free formed their own Spiritual Baptist movements - breakaway spiritual movements which often expressed resistance to oppression.
Document 8: Slavery in international law: The concept has its roots in the 1807 Abolition of Slavery Act of Great Britain. Many academics in the field perceive this as the beginning of the end of the traditional form of slavery: chattel slavery. In the 19th century, Britain controlled the majority of the world through its colonies. Consequently, in passing this law to abolish slavery, the British Parliament abolished slavery in the vast majority of its colonies.
Document 9: Franco-Prussian War: The creation of a unified German Empire ended the balance of power that had been created with the Congress of Vienna after the end of the Napoleonic Wars. Germany had established itself as the main power in continental Europe with the most powerful and professional army in the world.[citation needed] Although Great Britain remained the dominant world power, British involvement in European affairs during the late 19th century was very limited, allowing Germany to exercise great influence over the European mainland.[citation needed] Besides, the Crown Prince's marriage with the daughter of Queen Victoria was only the most prominent of several German–British relationships.
Document 10: Saint Helena: Although the importation of slaves to St Helena had been banned in 1792, the phased emancipation of over 800 resident slaves did not take place until 1827, which was still some six years before the British Parliament passed legislation to ban slavery in the colonies.
Document 11: Great power: Of the five original great powers recognised at the Congress of Vienna, only France and the United Kingdom have maintained that status continuously to the present day, although France was defeated in the Franco-Prussian War and occupied during World War II. After the Congress of Vienna, the British Empire emerged as the pre-eminent power, due to its navy and the extent of its territories, which signalled the beginning of the Pax Britannica and of the Great Game between the UK and Russia. The balance of power between the Great Powers became a major influence in European politics, prompting Otto von Bismarck to say "All politics reduces itself to this formula: try to be one of three, as long as the world is governed by the unstable equilibrium of five great powers."
Document 12: British Empire: The independence of the Thirteen Colonies in North America in 1783 after the American War of Independence caused Britain to lose some of its oldest and most populous colonies. British attention soon turned towards Asia, Africa, and the Pacific. After the defeat of France in the Revolutionary and Napoleonic Wars (1792 -- 1815), Britain emerged as the principal naval and imperial power of the 19th century. Unchallenged at sea, British dominance was later described as Pax Britannica (``British Peace ''), a period of relative peace in Europe and the world (1815 -- 1914) during which the British Empire became the global hegemon and adopted the role of global policeman. In the early 19th century, the Industrial Revolution began to transform Britain; by the time of the Great Exhibition in 1851 the country was described as the`` workshop of the world''. The British Empire expanded to include most of India, large parts of Africa and many other territories throughout the world. Alongside the formal control that Britain exerted over its own colonies, its dominance of much of world trade meant that it effectively controlled the economies of many regions, such as Asia and Latin America.
Document 13: British Empire: With support from the British abolitionist movement, Parliament enacted the Slave Trade Act in 1807, which abolished the slave trade in the empire. In 1808, Sierra Leone was designated an official British colony for freed slaves. The Slavery Abolition Act passed in 1833 abolished slavery in the British Empire on 1 August 1834 (with the exception of St. Helena, Ceylon and the territories administered by the East India Company, though these exclusions were later repealed). Under the Act, slaves were granted full emancipation after a period of 4 to 6 years of "apprenticeship".
Document 14: Napoleonic Wars: The Congress of Vienna redrew the borders of Europe, and brought a lasting peace to the continent. The wars had profound consequences on global history; it fostered the spread of nationalism and liberalism, saw the rise of the British Empire as the world's foremost power, independence movements in Latin America and the subsequent collapse of the Spanish Empire, the fundamental reorganisation of German and Italian territories into larger states, and the establishment of radically new methods of conducting warfare.
Document 15: Napoleon: Hoping to extend the Continental System, Napoleon invaded Iberia and declared his brother Joseph the King of Spain in 1808. The Spanish and the Portuguese revolted with British support. The Peninsular War lasted six years, noted for its brutal guerrilla warfare, and culminated in an Allied victory. Fighting also erupted in Central Europe, as the Austrians launched another attack against the French in 1809. Napoleon defeated them at the Battle of Wagram, dissolving the Fifth Coalition formed against France. By 1811, Napoleon ruled over 70 million people across an empire that had domination in Europe, which had not witnessed this level of political consolidation since the days of the Roman Empire. He maintained his strategic status through a series of alliances and family appointments. He created a new aristocracy in France while allowing the return of nobles who had been forced into exile by the Revolution.
ground_truth: The Slavery Abolition Act
sub_queries: which nation emerged as the strongest country in the world as a result of the napoleonic wars Answer: the British Empire
What abolished slavery throughout the British Empire ? Answer: The Slavery Abolition Act