Lykos loses district attorney job