 In 1811 a new magazine building was erected a little way downstream from the castle, relieving pressure on the castle.Upnor Castle ceased to be used as a storage magazine after 1827 and was converted into an Ordnance Laboratory (i.e.a workshop for filling explosive shells with gunpowder).