The U.S. General Attorney has apologized to Afghanistan’s president Hamid Karzai, after a drone strike in Afghanistan leaves civilians wounded and killed.

The attack killed a two-year-old child and injured two women.

The Washington Post noted that President Hamid Karzai angrily rebuked the situation and the U.S. military for their actions.

Karzai said that the U.S. drone fired into the house where the child and two women lived. “[This attack] shows that American forces are not respecting the life and safety of Afghan people’s houses,” Karzai said.

The U.S. military says that it did not target the house, but that it was trying to kill a terrorist, but the shot missed the terrorist and ended up hitting the house.

The New York Time reported that the American military commander called President Hamid Karzai to apologize for the strike in the south Helmand Province.

“He talked to President Karzai directly, expressed deep regrets for the incident and any civilian casualties, and promised to convene an immediate joint investigation to determine all the facts of what happened,” a coalition spokesman said.

There was talk between the two countries about signing an agreement, but Karzai is not willing to sign such an agreement if drone strikes against civilians continue to happen. However, if Karzai does not sign the agreement, U.S. troops and NATO forces threaten to withdraw from Afghanistan by the end of 2014.

Karzai appears to have made up his mind concerning the agreement, “For as long as such arbitrary acts and oppression of foreign forces continue, the security agreement with the United States will not be signed,” he said.