The Attorney General is the state's chief lawyer. The Attorney General represents the state in court, defends state laws when they are challenged, protects consumers from fraud and scams, and in many states prosecutes certain crimes. Voters elect the Attorney General in 43 states.