However, the north-south rift that follows the river Main along the western leg of the Maindreieck does not match exactly the geological divide between the sandstone and the Muschelkalk. For around 60 kilometres the rift parallels the Main from Gemünden to Triefenstein. The hills east of the river thus resemble those of the Spessart geologically.: