Ripon was one of the boroughs reformed by the Municipal Corporations Act 1835 . It stayed a borough in the West Riding of Yorkshire until 1974 . The borough corporation was reformed by the Municipal Corporations Act 1835 and formed a municipal borough of the West Riding of Yorkshire until 1974 .