Ethiopia's topography, one of the most rugged in Africa, is built on four geologic formations. Rocks of Precambrian origin (more than 540 million years in age) form the oldest basal complex of Ethiopia, as they do in most of Africa. The Precambrian layer is buried under more recent geologic formations except in parts of northern, western, and southern Ethiopia, where there are exposed rock layers of granite and schist. Geologic processes of the Mesozoic Era (245 to 66.4 million years ago) contributed sedimentary layers of limestone and sandstone, most of which have been either eroded or covered by volcanic rocks. Younger sedimentary layers are found in northern Ethiopia and on the floors of the Rift Valley. Lava flows from the Tertiary and Quaternary periods (from 66.4 million years ago to the present) have formed basaltic layers that now cover two-thirds of Ethiopia's land surface with a thickness ranging from about 1,000 feet (300 metres) to almost 10,000 feet. The Rift Valley forms a spectacular graben (a massive tectonic trough) running right down the middle of the country from the northern frontier with Eritrea to the southern border with Kenya.