The Inspector General of the US Justice Department has determined that The Federal Bureau of Investigation, FBI acted properly when it began a broad investigation into whether then presidential candidate Donald Trump or people around him conspired with Russia to interfere in the 2016 presidential election. “The FBI had an authorized purpose when it opened the probe to obtain information about, or to protect against, a national security threat or federal crime, even though the investigation also had the potential to impact constitutionally protected activity,” according to the 434-page report released Monday by Inspector General Michael Horowitz.

The report assesses some of the earliest actions that FBI and Justice Department officials took during their investigation into Trump and his campaign starting in 2016. The report also cited 17 “significant inaccuracies and omissions” in obtaining Foreign Intelligence Surveillance Act warrants against former Trump campaign aide Carter Page. The report recommends that all FBI officials involved in the case work have their actions administratively reviewed.

“That so many basic and fundamental errors were made on four FISA applications by three separate, hand-picked teams, on one of the most sensitive FBI investigations that was briefed to the highest levels within the FBI and that FBI officials expected they would eventually be subjected to close scrutiny, raised significant questions regarding the FBI chain of command’s management and supervision of the FISA process,” according to the report.