Sorry, but no. It was the British Empire that ended slavery. In fact, every culture in all of human existence has practiced slavery. Like it or not, Western European Culture (and its new world offshoots) is the only culture in all of human existence to decide on its own to end slavery.
Modern Europe and Slavery
The reader would be right to inquire at this time of progress and development about the attitude of Europe, the pioneer of progress and development, toward slavery.
When Europe found its way to Africa it was a disaster for the latter that lasted for five centuries. The Europeans had a genius for devising ways to ensnare the Africans, to take them to Europe or its colonies, and to force them to such drudgery that contributed to a development of economic life. Later on, America joined Europe in subjugating the Africans, and the latter had to serve one more master.
The Encyclopaedia Britannica has the following to say about slavery:
"The hunting of of slaves from their villages in the midst of jungles was effected by setting fire to the straw used in building barns around the village. Once the villagers ran out for their lives, the English hunted them."
"The hunting of of slaves from their villages in the midst of jungles was effected by setting fire to the straw used in building barns around the village. Once the villagers ran out for their lives, the English hunted them.”
Apart from Africans who died during their flight, or on the way to the coast for shipment, one third of the survivors died of bad weather, 45% in traspartation overland, 12% during the sea voyage, and some more died on plantations.
Continued...
Let's see how much ways Islaam got rid of slavery;
the Messenger of Allaah, Muhammad (peace be upon him) said;
"Those slaves are your brothers, only God gave you an upper hand over them. So let that who has his brother (i.e. slave) under him give him the same food he himself eats, and the same clothing as he himself wears. The master may not give his brother a task that is beyond his ability. If he does give him such task, let him lend him a hand."
He (peace be upon him) also said:
' If a man hits or beats his slave, his atonement is the freeing of that slave.
Reported by Muslim and Abu Dawood.
There are more narrations of the companions of the Messenger of Allaah (peace be upon him):
'Umar bin Al-Khattab once walked in Makkah and saw some slaves standing aside waiting, while their master ate. He was angry at this and inquired of the master :
"Why do some masters regard themselves as superior to their slaves ? "
Then he ordered the slaves to advance and eat.
A man once entered the house of Salman, may God be pleased with him, and saw him kneading his dough. "
What are you doing, Abu 'Abdullah? " " I have sent my servant on an errand, " he answered. "
So I didn't like to give him some more work." This is some of what Islam did for slaves !
The Noble Qur'ân An-Nur 4:32-3332. And marry those among you who are single (i.e. a man who has no wife and the woman who has no husband) and (also marry) the Sâlihûn (pious, fit and capable ones) of your (male) slaves and maid-servants (female slaves). If they be poor, Allâh will enrich them out of His Bounty. And Allâh is All-Sufficent for His creatures' needs, All-Knowing (about the state of the people).
33. And let those who find not the financial means for marriage keep themselves chaste, until Allâh enriches them of His Bounty. And such of your slaves as seek a writing (of emancipation), give them such writing, if you know that they are good and trustworthy. And give them something yourselves out of the wealth of Allâh which He has bestowed upon you. And force not your maids to prostitution, if they desire chastity, in order that you may make a gain in the (perishable) goods of this worldly life. But if anyone compels them (to prostitution), then after such compulsion, Allâh is Oft-Forgiving, Most Merciful (to those women, i.e. He will forgive them because they have been forced to do this evil action unwillingly).
The Noble Qur'ân An-Nisa 4:221
It is not for a believer to kill a believer except (that it be) by mistake, and whosoever kills a believer by mistake, (it is ordained that) he must set free a believing slave and a compensation (blood money, i.e Diya) be given to the deceased's family, unless they remit it. If the deceased belonged to a people at war with you and he was a believer; the freeing of a believing slave (is prescribed), and if he belonged to a people with whom you have a treaty of mutual alliance, compensation (blood money - Diya) must be paid to his family, and a believing slave must be freed. And whoso finds this (the penance of freeing a slave) beyond his means, he must fast for two consecutive months in order to seek repentance from Allâh. And Allâh is Ever All*Knowing, All*Wise.
There are so much ways in Islaam to get rid of slavery, yet because it was at a worldwide scale - it got abolished gradually - starting from 14 centuries ago! Whereas we see that the slave trade which took place within America just a few centuries ago made slaves the lowest of the low, which involved racism, something which may have been abolished lately (which is a good thing) - yet much more later than Islaam.
Regards.