The secret court that oversees government snooping took the Obama administration to task late last year, suggesting it created “a very serious Fourth Amendment issue” by violating rules the government itself had implemented regarding the surveillance of Americans.

According to top-secret documents made public by the Foreign Intelligence Surveillance Court – often referred to as the FISA court – the government admitted that, just days before the 2016 election, NSA analysts were violating surveillance rules on a regular basis. This pattern of overreach, coupled with the timing of the government’s disclosure, resulted in an unusually harsh rebuke of the administration’s practices and principles.

A former CBS journalist suing the federal government for allegedly spying on her said the documents prove the illegal snooping was pervasive and widely abused.