What was the social/political perspective of black men in 1830s England?

by [deleted]

I recently began watching "The Frankenstein Chronicles" on Netflix, which is set in 1830s England. I would consider the show "historical science fiction," since it includes real-life figures such as Mary Shelley and Sir Robert Peel.

There is only one black person in the show, a character by the name of Joseph Nightingale, who becomes a high-position officer of the Metropolitan Police Force.

Which made me wonder, would this be historically accurate? All I know is that a black man in such a position of power would be nearly impossible in 1830s America, but I'm unsure about the social and political situation of England during that time.

(To be clear, I'm not bothered that they're including a black man even if it isn't 100% historical. I am just genuinely curious and would like to become more educated on the subject.)

TL;DR would it be possible for a black man to become a high-ranking police officer in 1830s England?

Vespertine