Given the task definition and input, reply with output. In this task you will be given a text passage from a trivia quiz. You should choose the category this question belongs to from these categories: History, Science, Social Science, Fine Arts, Literature. You can only choose one category, so if in doubt, please choose the closest match.

A scribe of these people, Ahmes, was responsible for the creation of what is now known as the Rhind Papyrus. One ruler of this empire, King Apepi, ruled for at least forty years and went by the epithet of Aauserra. A Semitic people, much of what we know of them comes from Tell el-Daba and they were given a name which likely means rulers of foreign lands. They introduced the composite bow and chariot after their invasion, and ruled from the capital of Avaris, but were finally expelled by Ahmose I around 1540 BCE, which led to the establishment of the 18th Dynasty. FTP, name these people who ruled northern Egypt during the Second Intermediate Period.
History