By the mid 19th century, the reputation of the Metropolitan Police had improved and policemen were seen as reliable and helpful ‘Bobbies’. But in deprived areas like Whitechapel, they remained unpopular and could be attacked by gangs.
When discontent became protest, the police were seen as upholders of unpopular government decisions, and gained a reputation for heavy handedness.