By the time of the last days of the Third Dynasty of Ur, the immigrating Amorites had become such a force that kings such as Shu-Sin were obliged to construct a 270 kilometers wall from the Tigris to the Euphrates to hold them off.