It was not until the early 19th century that most of the anti-Catholic legislation was removed by the Roman Catholic Relief Act of 1829; anti-Catholic sentiment remained even longer among politicians and the general populace, although the Gordon Riots of 1780 made it clear to sensible observers that Catholics were far more likely to be the victims of violence than its perpetrators.