This was the first time a gigantic pyramid was built. With the passage of time, many more pyramids came up. Most of them were built during the Old and Middle Kingdom periods. All the Egyptian pyramids were built on the west bank of River Nile, as the west, being the side of the setting sun, was associated with the dead.