Chariots appear in the 20th century BC, and become central to warfare in the Ancient Near East from the 17th century BC. The Hyksos and Kassite invasions mark the transition to the Late Bronze Age. Ahmose I defeated the Hyksos and re-established Egyptian control of Nubia and Canaan, territories again defended by Ramesses II at the Battle of Kadesh, the greatest chariot battle in history. The raids of the Sea Peoples and the renewed disintegration of Egypt in the Third Intermediate Period marks the end of the Bronze Age.