The Twentieth Dynasty of Egypt (notated Dynasty XX, alternatively 20th Dynasty or Dynasty 20) is the third and last dynasty of the Ancient Egyptian New Kingdom period, lasting from 1189 BC to 1077 BC. The 19th and 20th Dynasties together constitute an era known as the Ramesside period owing to the predominance of rulers with the given name "Ramesses". This dynasty is generally considered to mark the beginning of the decline of Ancient Egypt, coinciding with the Bronze Age Collapse which led to the end of the New Kingdom and the onset of the Third Intermediate Period. During the period of the Twentieth Dynasty, Ancient Egypt faced the crisis of invasions by Sea Peoples. Though the dynasty was able to successfully defend Egypt, it left the kingdom seriously crippled.