WASHINGTON ó President Donald Trump told visiting members of the U.N. Security Council on Monday that the U.S. would no longer talk with the Taliban following a recent string of deadly attacks in Afghanistan. Trump railed against a series of "atrocities" in Afghanistan and said as a result the U.S. would not engage in any future talks with the Taliban as the administration seeks to end a stalemate in Americaís longest war. "Innocent people are being killed left and right. Bombing, in the middle of children, in the middle of families, bombing, killing all over Afghanistan," Trump said. "So we donít want to talk with the Taliban. There may be a time, but itís going to be a long time." The presidentís comments followed a deadly car bombing attack in Kabul, the Afghan capital, that killed at least 95 people and wounded 158. Earlier this month, Americans were killed and injured in the Talibanís 13-hour siege of a Kabul hotel. Trumpís remarks at the diplomatic luncheon marked a shift in tone on Afghanistan. The U.S. has said previously that any peace talks with the Taliban need to be part of an Afghan-led process, but the U.S. has never precluded talking to the Taliban. Secretary of State Rex Tillerson, who sat next to the president at the luncheon, has said previously that after an effective military effort, a political settlement including some Taliban might be possible, echoing language from former President Barack Obamaís administration. Tillerson had said the U.S. would support peace talks with the Taliban "without preconditions." Trump has sought to change the course of the long-running conflict, sending thousands more U.S. troops to Afghanistan and moving away from a "time-based" approach to one that more explicitly links U.S. assistance to concrete results from the Afghan government. The White House lunch was attended by representatives from the 15-member U.N. Security Council, including ambassadors from China, France, Russia and Britain.