What does a state attorney general do?

The state attorney general is a legal position. The individual provides legal counsel for representatives of the state. It is the highest legal position in a state.