Which cabinet position is considered the chief lawyer of the US?

The Attorney General