Elamite history can be divided into three main phases: the Old, Middle, and Late, or Neo-Elamite, periods. In all periods Elam was closely involved with Sumer, Babylonia, and Assyria, sometimes through peaceful trade but more often through war. In like manner, Elam was often a participant in events on the Iranian plateau. Both involvements were related to the combined need of all the lowland civilizations to control the warlike peoples to the east and to exploit the economic resources of the plateau.