Original: The city lost its prime importance around 2000 BC , in the context of the struggle of Babylonia with Elam , but it remained inhabited throughout the Seleucid and Parthian periods until it was finally abandoned during the Sassanid period shortly before the Islamic conquest of Mesopotamia .
Simplified: It remained inhabited throughout the Seleucid and Parthian periods until it was finally abandoned during the Sassanid period , just before the Islamic conquest of Mesopotamia .