Germany has charged six foreign nationals for allegedly plotting terrorist attacks on behalf of the Islamic State Province of Khorasan (ISIS-K), the federal prosecutor's office said on Wednesday.

They intended to carry out high-profile attacks in Germany and Western Europe but had no concrete plan when law enforcement intervened, according to the statement.

The suspects, who were arrested in July last year, had been in touch with ISIS-K, the Afghan offshoot of Islamic State, which claimed responsibility for a mass shooting in Moscow last month in which at least 137 people were killed.