Poland's President Lech Kaczynski expressed condolences to Indian President Pratibha Patil on Thursday for terrorist attacks in Mumbai which killed over 100 people.
The president condemned the "acts of barbarity" and expressed "solidarity with the victims."
"The Mumbai terrorist attacks show that the fight with terrorism is necessary," Polish news agency PAP quoted president Kaczynski as saying later in the day.
"These act of terrorism shows that the problem exists, that it is not easy to be solved and that the fight with it is justified, even if some mistakes have been made," the president said.
The terrorist attacks were also condemned by Poland's Foreign Minister Radoslaw Sikorski and EU commissioner for external relations Benita Ferrero-Waldner, now on a visit to Poland.
"We both are indignant at the terrorist attack in India. We are condemning what has happened there in the strongest possible words," Sikorski told a press conference after his meeting with the EU commissioner.
There are no Polish citizens among those killed and injured in the attack, spokesman for Poland's foreign ministry Piotr Paszkowski said.
In one of the most violent terror attacks on Indian soil, Mumbai came under an unprecedented attack on Wednesday as militants used heavy machine guns and grenades to strike at the city's most high-profile targets, killing at least 101 and injuring hundreds of others.