German police have detained an 18-year-old man accused of preparing a terrorist attack on a mosque in Germany. He has been in custody since August, when investigators carried out a home search in the western town of Eslohe. Prosecutors in Düsseldorf said the case centres on alleged plans for an attack around the end of this year or the start of next year. During the raid, police found weapons and parts of weapons, as well as ammunition. Investigators said the accused made the firearms using a 3D printer. Prosecutors also alleged that the man had an ideology described as far-right. They said his racist views were directed at people of the Muslim faith. According to Digi24, prosecutors believe the teenager planned to carry out the attack at the end of 2026 or the start of 2027. They said the search of his home uncovered numerous weapons, weapon components and ammunition, along with objects made using a 3D printer that investigators believe were intended for the planned attack. Digi24 reported that prosecutors said it is the first time their office has investigated a concrete attack plan involving weapons manufactured with a 3D printer. Investigators are analysing seized electronic data and waiting for an expert examination by the state Criminal Investigation Office to determine whether the discovered weapons are functional. More witness hearings are planned. So far, prosecutors have not brought formal charges, and the suspect remains protected by the presumption of innocence while the investigation continues. An indictment has not yet been filed. The investigation is continuing, and the accused remains in custody. Updated 19 November 2026: Added Digi24 details on the alleged 3D-printed weapons, the planned timing of the attack, and the ongoing evidence review.