The director of the CNI intelligence agency will appear before Parliament to brief lawmakers on the alleged spying operations conducted by the United States in Spain, Spanish Prime Minister Mariano Rajoy said Wednesday.

Felix Sanz Roldan will appear before the official secrets committee of the lower house of Parliament to discuss the spying allegations, a matter that the government "takes very seriously," Rajoy told lawmakers.

The prime minister took to the floor of Parliament to discuss last week's European Union summit, at which one of the top topics of discussion was the alleged spying by the United States on European countries, including Spain.

If confirmed, the spying would be considered "inappropriate and unacceptable acts between partners and friends," Rajoy said.

Rajoy told lawmakers that he had Foreign Minister Jose Manuel Garcia-Margallo summon U.S. Ambassador to Spain James Costos to a meeting with officials at the Foreign Ministry to discuss the spying allegations.

The Foreign Ministry made it clear to Costos during Monday's meeting that the Spanish government was concerned about the reports of spying by U.S. intelligence agencies in Spain, Rajoy said.

Prosecutors decided Tuesday to begin gathering evidence about the alleged massive spying operations conducted by U.S. intelligence agencies in Spain, officials told Efe.

The goal of the probe is to determine whether criminal acts were committed in light of what is known so far about the spying, an investigation should be opened into the matter and Spain has jurisdiction to prosecute.

Costos made a commitment to clear up any "doubts" Madrid might have about the alleged spying by the United States in Spain and vowed to keep the "communications open" with Spanish officials.

Reports over the past few days in the Spanish press said the U.S. National Security Agency, or NSA, monitored millions of telephone calls in Spain.

The NSA intercepted more than 60 million telephone calls in Spain between December 2012 and January 2013, the El Mundo newspaper reported on Monday, citing some of the documents leaked by former U.S. intelligence operative Edward Snowden.

The NSA also monitored people's activities on the Internet, e-mails and social-networking sites, such as Facebook and Twitter. EFE