The person you're describing is Sargon. He named himself “King of the Four Quarters of the World” and likened himself with the gods. He was also an illegitimate child whose mother deposited him in the Euphrates River in a basket. His dynastic aspirations changed the balance of power in the region of Akkadians and Sumerians.