District attorney is removed from office under rarely used state law