German Chancellor Angela Merkel vehemently denied the country is a “surveillance state” after a magazine reported her government used a top U.S. National Security Agency spy program.

The German magazine Der Spiegel reported Saturday on Germany’s utilization of an NSA system known as XKeyScore, which allows an agency to gather all of the unfiltered data a targeted individual has accessed over a specific period of time.

The XKeyScore program can, for instance, “retroactively reveal any terms the target person has typed into a search engine,” DerSpiegel wrote in citing documents seen by its reporters.

Additionally, the magazine said the system “is able to receive a ‘full take’ of all unfiltered data over a period of several days — including, at least in part, the content of communications.”

According to the Der Spiegel report, in Afghanistan, Germany had proved to be the NSA’s “most prolific partner.”