marduk god of babylonian mythology marduk was the babylonian name of a late-generation god from ancient mesopotamia and patron deity of the city of babylon , who , when babylon became the political center of the euphrates valley in the time of hammurabi ( 18th century bce ) , started to slowly rise to the position of the head of the babylonian pantheon , a position he fully acquired by the second half of the second millennium bce .