The civilization of ancient Egypt was indebted to the Nile River and its dependable seasonal flooding. The river's predictability and the fertile soil allowed the Egyptians to build an empire on the basis of great agricultural wealth. Egyptians are credited as being one of the first groups of people to practice agriculture on a large scale. This was possible because of the ingenuity of the Egyptians as they developed basin irrigation. Their farming practices allowed them to grow staple food crops, especially grains such as wheat and barley, and industrial crops, such as flax and papyrus .