Mesopotamian religion was polytheistic, with followers worshipping several main gods and thousands of minor gods. The three main gods were Ea (Sumerian: Enki), the god of wisdom and magic, Anu (Sumerian: An), the sky god, and Enlil (Ellil), the god of earth, storms and agriculture and the controller of fates.