The attorney general is charged by the state constitution to represent the state in
civil litigation There are nearly 2,000 references to the Office of the Attorney General in state laws. The Office of the Attorney General serves as legal counsel to all boards and agencies of state government, issues legal opinions when requested by the governor, heads of state agencies and other officials and commissions, and defends challenges to state laws and suits against both state agencies and individual employees of the state. They act as the state's attorney, fighting against challenges to state agencies and laws in court, give opinions on how state law should be understood, conduct investigations, and file lawsuits to keep the people in their state safe. Some duties include representing the Director of the Texas Department of Criminal Justice in appeals from criminal convictions in federal courts. The Texas Constitution gives the attorney general no general law-enforcement powers; instead it, limits their authority in criminal cases to what is dictated by statute. The Office of the Attorney General, Law Enforcement Division conducts criminal investigations and apprehensions including cases involving cyber-crimes such as child pornography, online solicitation of minors, identity theft, election fraud, locating and apprehending convicted sex offenders who have failed to comply with mandated sex offender registration requirements, and conducting digital forensics investigations. However, in certain circumstances, the attorney general has original jurisdiction to prosecute violations of the law, rather than just acting at the request of local prosecution. The Office of the Attorney General also operates the Medicaid Fraud Control Unit which investigates criminal fraud by
Medicaid providers, abuse and neglect of patients in health care facilities operated by the Medicaid program, and helps local and federal authorities with prosecutions. Its child support division is responsible for the establishment and enforcement of child support. == Officeholders ==