In 1994, Salazar returned to private practice. In 1998, he was elected state attorney general; he was reelected to this position in 2002. Police operations were streamlined under Salazar, and several new branches of law enforcement were created: the Gang Prosecution Unit, the Environmental Crimes Unit, and the General Fugitive Prosecutive Unit, which targeted murderers. He also worked to strengthen consumer protection and anti-fraud laws, as well as to protect children through new policy designed to crack down on sex offenders.