The Slavery Abolition Act, passed by the British Parliament in 1833, came into force on August 1, 1834.
In fact, the Act liberated less than 50 enslaved Africans in British North America. For most enslaved people in Canada, the Act resulted only in partial liberation, only emancipated children under the age of six, and obliged others to be retained for four to six years as apprentices. The Act did initiate the formal end to slavery, and since 2021 Emancipation Day has been commemorated annually in Canada on August 1. Emancipation Day in Canada: Past, Present, and Future
Emancipation and abolition of slavery became law in the U.S. through the 13th Amendment to the Constitution after it was ratified by 2/3 of the states on December 6, 1865.