After service in both the First and Second World Wars, it was amalgamated with the Royal Berkshire Regiment (Princess Charlotte of Wales's) into the Duke of Edinburgh's Royal Regiment (Berkshire and Wiltshire) in 1959, which was, in 1994, merged with the Gloucestershire Regiment to form the Royal Gloucestershire, Berkshire and Wiltshire Regiment, which later amalgamated with the Devonshire and Dorset Regiment, the Royal Green Jackets and The Light Infantry to form The Rifles, which continues the lineage of the regiment. The regiment's depot was at Le Marchant Barracks in Devizes.