Subsequently, about 30 million years ago, the land was uplifted and tilted towards the south by earth movements. The upper layers of rock were eroded away and the older rocks were exposed in places. Because of the tilt the oldest rocks became exposed in the north. These are the bands of shales and ironstones on the northern scarp of the moors and Cleveland Hills. The middle layers form the sandstones of the high moors and the youngest layers of limestone form the tabular hills. In the dales where the rivers have cut through the younger rocks there are also exposures of older shales, ironstone and sandstone. Rosedale is an example of this.