The Seventeenth Dynasty of Egypt (notated Dynasty XVII, alternatively 17th Dynasty or Dynasty 17) is classified as the third dynasty of the Second Intermediate Period of Egypt. The 17th Dynasty dates approximately from 1580 to 1550 BC. Its mainly Theban rulers are contemporary with the Hyksos of the Fifteenth Dynasty and succeed the Sixteenth Dynasty, which was also based in Thebes.