New troops of yeomanry were raised in the 1830s in response to the Swing Riots. The first such troop established in Gloucestershire was the Marshfield and Dodington Troop, raised in 1830 by William Codrington, from which the Royal Gloucestershire Hussars dated its formation. The troop comprised three officers, a quartermaster, four non-commissioned officers, a trumpeter and fifty troopers, and was recruited from the tenants of Codrington's estate and those of his neighbours, including that of the Duke of Beaufort. In 1831, six more troops were raised by members of the Gloucestershire gentry in Fairford and Cirencester, Stroudwater, Tetbury, Gloucester, Winterbourne and Stapleton, and Alveston. That same year, the Dodington and Tetbury Troops were sent to Bristol in response to civil unrest following the defeat of the Second Reform Bill in the House of Lords.