President Obama Reaffirms Goal to Defeat ISIS in Wake of Istanbul Attack

The president reaffirmed U.S. support for Turkey in wake of terrorist attack.

— -- President Barack Obama indirectly blamed ISIS for Tuesday’s terrorist attack in Istanbul, calling the carnage “an indication of how little these vicious organizations have to offer” to society.

“We stand with the people of Turkey, and we intend to do what’s necessary to make sure that these kinds of terrible events are not happening,” he told reporters after a meeting with Mexican President Enrique Peña Nieto in Ottawa, Canada.

Obama extended his “deepest condolences” to the people of Turkey for the “terrible attack” in Istanbul. He said he was in touch with Turkish President Recep Tayyip Erdogan.

“I had a chance to speak to President Erdogan earlier today to discuss with him not only how heartbroken we have been by the images of the injured and those killed but also to reaffirm our strong commitment to partner with Turkey, with NATO, with the broad-based alliance that we’ve structured around the world to fight ISIL,” Obama said.

Although ISIS has not claimed responsibility for the attack, U.S. lawmakers have indicated that it mirrors tactics previously employed by the terrorist group.

The attack at Ataturk International Airport left 41 people dead and 239 others injured, according to Istanbul Gov. Vasip Sahin.

ABC News’ Ali Rogin contributed to this report.