“When you’re attacking FBI agents because you’re under criminal investigation, you’re losing,” Huckabee Sanders wrote in Nov. 2016, in reference to the FBI’s probe of Hillary Clinton’s emails, which wasongoing at the time.

For more on Donald Trump, listen below to our daily podcast PEOPLE Every Day.

The probe was ultimately resolved after agents reviewed the emails for classified information, and no charges were filed.

Never miss a story — sign up forPEOPLE’s free daily newsletterto stay up-to-date on the best of what PEOPLE has to offer.

But like Huckabee Sanders — who served as White House press secretary early in Trump’s term — many Republicans at the time criticized Clinton for using a private email server during her time as secretary of state.

Speaking on Fox News, Huckabee Sanders (who is now an Arkansas gubernatorial candidate) said in 2015: “There’s aprotocol that she didn’t follow.”

“There’s also some legal issues about whether or not it’s a good idea to store top secret information … on a personal server in a personal home away from all the firewalls that the government would provide,” Huckabee Sanders said at the time.

Sarah Huckabee Sanders.Chip Somodevilla/Getty

Sarah Huckabee Sanders

The onetimeApprenticestar added: “They even broke into my safe!”

The reason for the warrant remains unclear, though the search comes months afterfederal government officials went to Florida to retrieve 15 boxes of documentsand other items from the former president — which the agency said should have been handed over at the end of his time in office.

A February statement from the National Archives and Records Administration (NARA) said that a month earlier, the office “arranged for the transport from the Trump Mar-a-Lago property in Florida to the National Archives of 15 boxes that contained Presidential records, following discussions with President Trump’s representatives in 2021.”

Trump was not in Florida at the time of the FBI search on Monday, which appeared to be focused on his office and personal quarters, CNN reported. The FBI did not immediately respond to PEOPLE’s request for comment.

A source who was present at Mar-a-Lago at the time of the raid tells PEOPLE, “The mood was pure shock.”

source: people.com