District attorney gets 27% raise; state law gives legislature no choice