Robert Mueller III has agreed to testify publicly on July 17 at the U.S. House Judiciary and Intelligence committees about his two-year assignment as the special counsel leading the Russia investigation, two Democratic leaders said late Tuesday.

Mueller had expressed an unwillingness to appear in Congress to talk about his role leading the investigation and prosecution team investigating Russia’s interference in the 2016 election and President Trump’s alleged efforts to derail the probe.