Although ISIS was territorially defeated in 2019, its militants remain a nuisance to the Syria and Iraqi governments, and Western nations have stayed involved in efforts to combat them.