Squamate fossils first appear in the early Jurassic, but a mitochondrial phylogeny suggests that they evolved in the late Permian. The evolutionary relationships within the squamates are not yet completely worked out, with the relationship of snakes to other groups being most problematic. 