A German police car blocks a road | Tino Plunert/AFP via Getty Images Home of German leftist politician attacked with explosive device No one was harmed in the attack against the house of a city councilor in Saxony.

BERLIN — The home of a local German politician from the leftist party Die Linke was attacked with an explosive device on Tuesday, one day after her party's Berlin headquarters were evacuated over a bomb threat.

Ramona Gehring, a city councilor in Zittau — a town in the eastern German state of Saxony — told local media that she was at home when an explosion outside her house shattered her windows shortly before midnight on Tuesday, but that no one had been hurt.

Saxony's state police said the explosion caused "considerable damage" to the building, but as of Wednesday afternoon had not publicly identified any suspects. Police added that because investigators could not rule out a "political motivation," a special task force responsible for combatting far-right extremism is now investigating the incident.

Saxony will hold regional elections for its state legislature on September 1. Die Linke is currently the second-largest party in the Saxon parliament, but the far-right Alternative for Germany is expected to gain significantly.

In a statement published by Die Linke's regional office in Saxony, Gehring said the attack had "shaken" her, but added: "I will not be intimidated by this, however, and will continue to advocate for solidarity and a tolerant society."

The party office described the attack as "shocking" in the statement, adding: "People were in the apartment at the time of the attack, including the grandchild of the city councilor, who was miraculously unharmed even though the child was in one of the rooms affected [by the explosion]."

On Monday, Die Linke evacuated the party's headquarters in Berlin after receiving an emailed bomb threat. German media reported that police did not search the building, as they did not believe the threat to be serious, but that authorities launched an investigation into the threat over a potential "disturbance of the public peace."

In 2015, a local Die Linke politician in the Saxon city of Freital was the target of a car bomb attack, for which a far-right terror group was later found guilty. The politician, Michael Richter, later left Saxony because he felt uneasy there, he told local media.

In June, a regional politician from Chancellor Angela Merkel's Christian Democratic Union was found shot dead on the terrace of his home in the state of Hesse. A man with links to the far-right extremist scene confessed to the killing, but later retracted his statement.