The United States has pulled its troops out of Iraq, ending a military presence that began with the invasion 23 years earlier. That invasion set off an insurgency and civil war.

The withdrawal comes as Iraq continues efforts to counter Iran’s influence. Further details are expected as events unfold.