A U.S. State Department spokesman condemned the killings as the work of terrorists trying to prevent democracy from taking root in Iraq .