Complex sentence: As the sea retreated it left behind a deep layer of sand over millions of years this sand was compressed into stone that is known as Eagle Sandstone.
Split into simpler sentences: As the sea retreated it left behind a deep layer of sand. Over millions of years this sand was compressed into stone that is known as Eagle Sandstone.