Nubia was first mentioned by ancient Egyptian trading accounts in 2300 BCE. During the Egyptian Middle Kingdom (c. 2040-1640 BCE), Egypt began expanding into Nubian territory in order to control trade routes, and to build a series of forts along the Nile.