Why did the East India Company allow for the passing of the Indian Slavery Act of 1843 to be passed?

by Craw1011

Forgive my pessimism but I find it very hard to believe that such a powerful force would allow for such an act to be passed when it seems like it would only hurt their economic prospects.Was there some way that they managed to benefit from the passing from the act?

Also I would really appreciate it if someone could provide me with sources that would allow me to learn more about this decision. All I have are Wikipedia pages, and though they're nice they don't provide a lot of detail.

EDIT: Sorry for the redundancy in the title, just noticed it after posting

Craw1011

To add to this, based on this wiki article the act was passed in British India under East India Company Rule. I assume that the company had some sway in Britain so why did they allow for it? Was there a growing conflict between them and Britain?