Poland's internal security agency has arrested a Spanish citizen of Russian origin on suspicion of involvement in foreign intelligence activities, Reuters reports.

A man identified as a Russian military intelligence agent was detained in Przemysl — near Poland's border with Ukraine — on the night of Feb. 27-28, ABW said in a statement.

"After 4 days, we have just been informed by the Consulate of Spain in Poland that Pablo Gonzalez is charged with the crime of espionage under article 130.1 of the Polish Penal Code and is in provisional detention in Rzeszow prison," lawyer Gonzalo Boye said on Twitter.

The agency said the man will remain in custody for three months and faces up to 10 years in prison if proven guilty.