William Barr also told his confirmation hearing the US inquiry into Russia's alleged 2016 election meddling is not a witch hunt, as Mr Trump labels it.
As top US law officer, Mr Barr would lead the Department of Justice, which is meant to be politically independent.
But Democrats asked why he wrote in a legal memo last year that an aspect of the probe was "fatally misconceived".
Read MORE
BBC NEWS