The Siege of Babylon took place after Assyrian king Sennacherib's victory over the Elamites at the Battle of River Diyala. Although the Assyrians had suffered heavy casualties at the river, they had beaten the Elamites such that the Babylonians now stood alone.