Sedimentary rock forms this way.