German prosecutors say they have charged three men and one woman with forming a far-right terror group and planning an attack.

Federal prosecutors say the four are accused of establishing a "terrorist organization" that went by the name Oldschool Society.

In a statement Wednesday, prosecutors said the group planned to use explosives to attack a refugee shelter last May. They were arrested May 6 before the attack could take place.