Natural remanent magnetization is the permanent magnetism of a rock or sediment. This preserves a record of the Earth's magnetic field at the time the mineral was laid down as sediment or crystallized in magma and also the tectonic movement of the rock over millions of years from its original position. Natural remanent magnetization forms the basis of paleomagnetism and magnetostratigraphy.