The Nile River was essential to ancient Egyptian civilization, providing fertility to the land, food and resources to the people, and a means of transportation. The Egyptians worshipped the Nile god Hapi and thanked him annually when the river flooded its banks between June and September, depositing rich soil. Though now controlled, the seasonal flooding was crucial to the Egyptians' agricultural society along the river banks. The Nile remains the longest river in the world and an important resource for northeast Africa.