https://en.wikipedia.org/wiki/Neo-Babylonian_Empire
Religious policies introduced by the final Babylonian king Nabonidus, who favoured the moon god Sîn over Babylon’s patron deity Marduk, eventually served as a casus belli for Persian king Cyrus the Great, who invaded Babylonia in 539 BC by portraying himself as a champion of Marduk divinely restoring order to Mesopotamia.
After the conquest, Babylon remained culturally distinct for centuries, with references to people with Babylonian names and to the Babylonian religion known from as late as the Parthian Empire in the 1st century BC. Although Babylon revolted several times during the rule of later empires, it never successfully restored its independence.