the elamites conquered babylonia in the 12th century , thus ending the kassite state. the last kassite king, enlil-nadin-ahi, was taken to susa and imprisoned there, where he died. however, kassites survived as a distinct ethnic group in the mountains of lorestan long after the kassite state collapsed.