The 31st Foot, which became part of the East Surrey Regiment in 1881, had been first raised as a regiment of marines and Foster did much to develop the ties between the Royal Marines and the East Surreys.