Dolostone or dolomite rock is a sedimentary carbonate rock that contains a high percentage of the mineral dolomite. In old U.S.G.S. publications it was referred to as magnesian limestone. Most dolostone formed as a magnesium replacement of limestone or lime mud prior to lithification. It is resistant to erosion and can either contain bedded layers or be unbedded. It is less soluble than limestone in weakly acidic groundwater, but it can still develop solution features over time.