Answer
Terrorist attacks in Baghdad have become rare and have been declining since the territorial defeat of the Islamic State militant group in Iraq in 2017. The city has faced severe infrastructural damage due to the Iraq War and subsequent insurgency, but the situation has improved in recent years.