With no explanation, label text_A→text_B with either "DON'T KNOW", "NO" or "YES".
text_A: With the advent of the Industrial Revolution, goods produced by slavery became less important to the British economy. Added to this was the cost of suppressing regular slave rebellions. 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 Colony was designated an official British colony for freed slaves. Parliamentary reform in 1832 saw the influence of the West India Committee decline. The Slavery Abolition Act, passed the following year, abolished slavery in the British Empire on 1 August 1834, finally bringing the Empire into line with the law in the UK (with the exception of the territories administered by the East India Company and Ceylon, where slavery was ended in 1844). Under the Act, slaves were granted full emancipation after a period of four to six years of "apprenticeship". Facing further opposition from abolitionists, the apprenticeship system was abolished in 1838. The British government compensated slave-owners.
text_B: Was slavery made illegal in the territories administered by the East India Company in 1834?
NO.