 At the end of the Permian ( 299 – 252 million years ago ) and Triassic periods , the Variscan orogeny resulted in the formation of several mountainous areas including Dartmoor in the south , Exmoor and the Quantocks , and the Mendips . 
