The Islamic State militant group proclaimed itself a caliphate and claimed territory spanning Syria and Iraq exactly 2 years ago.