State attorney stripped of powers