The Thirteenth Dynasty of ancient Egypt (notated Dynasty XIII) is often combined with Dynasties XI, XII and XIV under the group title "Middle Kingdom". Some writers separate it from these dynasties and join it to Dynasties XIV through XVII as part of the Second Intermediate Period. Dynasty XIII lasted from approximately 1803 BC until approximately 1649 BC, i.e. for 154 years.