Kurdish Peshmerga fighters assemble at a shrine on Iraq's Mount Sinjar on Friday, December 19. The Kurdish military said that with the help of coalition airstrikes, it has "cleansed" the area of ISIS militants. ISIS has been advancing in Iraq and Syria as it seeks to create an Islamic caliphate in the region.
A Peshmerga fighter looks down at the body of an alleged ISIS fighter in Zummar, Iraq, on Thursday, December 18.
A Kurdish fighter stands next to a destroyed armored vehicle in northern Iraq on December 18. The vehicle was destroyed by an improvised explosive device placed by ISIS militants.
Peshmerga fighters stop to check a vehicle in Zummar on December 18 as they continue to battle ISIS fighters near the border with Syria.
Pro-Iraqi government forces guard a shrine in Balad, Iraq, on Monday, December 15.
A Yazidi woman displaced by ISIS militants tends to a fire Wednesday, December 10, at a shelter in Dohuk, Iraq.
A Kurdish child from the Kobani, Syria, area holds laundry at a refugee camp in Suruc, Turkey, on Monday, November 17. Tens of thousands of people have fled Kobani, known in Arabic as Ayn al-Arab, to escape ISIS.
Smoke rises from Kobani following airstrikes on November 17. The United States and several Arab nations have been bombing ISIS targets to take out the group's ability to command, train and resupply its fighters.
A Kurdish child from the Kobani area holds on to a fence at a refugee camp in Suruc on Sunday, November 16.
People in Suruc watch smoke rise near the Syrian border during clashes between ISIS members and armed groups on Thursday, November 13.
A bomb (upper left) falls on an ISIS position in Kobani during an airstrike by the U.S.-led coalition on Saturday, November 8.
Iraqi military forces take up position in Jurf al-Sakhar, Iraq, on November 8.
Fire and smoke rise from Kobani following airstrikes against ISIS on Thursday, October 30.
Iraqi special forces search a house in Jurf al-Sakhar on October 30 after retaking the area from ISIS.
Smoke rises during fighting in Kobani on Monday, October 27.
ISIS militants stand near the site of an airstrike near the Turkey-Syria border on Thursday, October 23.
An explosion rocks Kobani during a reported car-bomb attack by ISIS militants on Monday, October 20.
People watch Kobani from a hill near the Turkey-Syria border on October 20.
Kurdish fighters walk to positions as they fight ISIS forces in Kobani on Sunday, October 19.
A U.S. Air Force plane flies above Kobani on Saturday, October 18.
Heavy smoke rises in Kobani following an airstrike by the U.S.-led coalition on Saturday, October 18.
Cundi Minaz, a female Kurdish fighter, is buried in a cemetery in the southeastern Turkish town of Suruc on Tuesday, October 14. Minaz was reportedly killed during clashes with ISIS militants in nearby Kobani.
Turkish police officers secure a basketball stadium in Suruc on October 14. Some Syrian Kurds have been held there since crossing from Syria into Turkey.
Kiymet Ergun, a Syrian Kurd, celebrates in Mursitpinar, Turkey, after an airstrike by the U.S.-led coalition in Kobani on Monday, October 13.
Smoke rises from Kobani on Sunday, October 12.
Syrian Kurds from Kobani stand outside the grounds of a refugee camp in Suruc on Saturday, October 11.
Alleged ISIS militants stand next to an ISIS flag atop a hill in Kobani on Monday, October 6.
In this photo released by the U.S. Air Force on Saturday, October 4, a U.S. Navy jet is refueled in Iraqi airspace after conducting an airstrike against ISIS militants.
A Kurdish Peshmerga soldier who was wounded in a battle with ISIS is wheeled to the Zakho Emergency Hospital in Duhuk on Tuesday, September 30.
Iraqi Shiite militiamen aim their weapons during clashes with ISIS militants in Jurf al-Sakhar on Sunday, September 28.
Syrian Kurds wait near a border crossing in Suruc as they wait to return to their homes in Kobani on Sunday, September 28.
Syrian Kurds wait behind border fences to cross into Suruc on September 28.
Tomahawk missiles, intended for ISIS targets in Syria, fly above the Persian Gulf after being fired by the USS Philippine Sea in this image released by the U.S. Navy on Tuesday, September 23.
Turkish Kurds clash with Turkish security forces during a protest near Suruc on Monday, September 22. According to Time magazine, the protests were over Turkey's temporary decision to close the border with Syria.
Syrian Kurds fleeing ISIS militants wait behind a fence in Suruc on Sunday, September 21.
A elderly man is carried after crossing the Syria-Turkey border near Suruc on Saturday, September 20.
A Kurdish Peshmerga fighter launches mortar shells toward ISIS militants in Zummar on Monday, September 15.
An ISIS flag flies on the other side of a bridge at the front line of fighting between ISIS and Kurdish Peshmerga fighters in Rashad, Iraq, on Thursday, September 11.
U.S. Secretary of State John Kerry reads on a flight en route to Iraq on Wednesday, September 10. Kerry traveled to the Mideast to discuss ways to bolster the stability of the new Iraqi government and combat ISIS.
Kurdish Peshmerga fighters fire at ISIS militant positions from their position on the top of Mount Zardak, east of Mosul, Iraq, on Tuesday, September 9.
An Iraqi fighter jet flies over Amerli, Iraq, on September 3. Amerli had been under siege by ISIS militants.
Iraqi volunteer fighters celebrate breaking the Amerli siege on Monday, September 1. ISIS militants had surrounded Amerli, 70 miles north of Baquba, Iraq, since mid-June.
Kurdish Peshmerga forces stand guard at their position in the Omar Khaled village west of Mosul on Sunday, August 24.
Kurdish Peshmergas fight to regain control of the town of Celavle, in Iraq's Diyala province, on August 24.
Peshmerga fighters stand guard at Mosul Dam in northern Iraq on Thursday, August 21. With the help of U.S. military airstrikes, Kurdish and Iraqi forces retook the dam from ISIS militants on August 18. A breach of the dam would have been catastrophic for millions of Iraqis who live downstream from it.
Displaced Iraqis receive clothes from a charity at a refugee camp near Feeshkhabour, Iraq, on Tuesday, August 19.
A fighter with Kurdish Peshmerga forces battles ISIS militants near Mosul on Monday, August 18.
Peshmerga fighters inspect the remains of a car that reportedly belonged to ISIS militants and was targeted by a U.S. airstrike in the village of Baqufa, north of Mosul, on August 18.
Kurdish Peshmerga fighters fire at ISIS in Khazair, Iraq, on Thursday, August 14.
Volunteers of the Iraqi Red Crescent Society unload boxes of goods before distributing them August 14 to families who fled from ISIS.
From the flight deck of the USS George H.W. Bush, which is in the Persian Gulf, two U.S. fighter jets take off for a mission in Iraq on Monday, August 11. U.S. President Barack Obama authorized airstrikes against Islamic militants and food drops for Iraqis who are trapped by the militants.
Aziza Hamid, a 15-year-old Iraqi girl, cries for her father while she and some other Yazidi people are flown to safety Monday, August 11, after a dramatic rescue operation at Iraq's Mount Sinjar. A CNN crew was on the flight, which took diapers, milk, water and food to the site where as many as 70,000 people were trapped by ISIS. But only a few of them were able to fly back on the helicopter with the Iraqi Air Force and Kurdish Peshmerga fighters.
Thousands of Yazidis are escorted to safety by Kurdish Peshmerga forces and a People's Protection Unit in Mosul on Saturday, August 9.
Iraqi Shiite volunteers who have joined government forces to fight ISIS take part in a training session near Basra, Iraq, on Thursday, August 7.
Thousands of Yazidi and Christian people flee Mosul on Wednesday, August 6, after the latest wave of ISIS advances.
A Baiji oil refinery burns after an alleged ISIS attack in northern Selahaddin, Iraq, on Thursday, July 31.
A Syrian rebel fighter lies on a stretcher at a makeshift hospital in Douma, Syria, on Wednesday, July 9. He was reportedly injured while fighting ISIS militants.
Iraqis who fled fighting in the cities of Mosul and Tal Afar try to enter a temporary displacement camp in Khazair on Wednesday, July 2.
Peshmerga fighters check cars at the entrance of a temporary displacement camp in Khazair on Thursday, June 26.
Kurdish Peshmerga take their positions behind a wall on the front line of the conflict with ISIS militants in Tuz Khormato, Iraq, on Wednesday, June 25.
Peshmerga fighters clean their weapons at a base in Tuz Khormato on June 25.
New army recruits gather in Najaf, Iraq, on Wednesday, June 18, following a call for Iraqis to take up arms against Islamic militant fighters.
An MH-60R Sea Hawk helicopter lands on the aircraft carrier USS George H.W. Bush in the Persian Gulf on Tuesday, June 17.
Newly recruited Iraqi volunteer fighters take part in a training session in Karbala, Iraq, on June 17.
Members of ISIS prepare to execute soldiers from Iraq's security forces in this image, one of many reportedly posted by the militant group online. CNN cannot independently confirm the authenticity of the images.
Iraqi men chant slogans outside of an army recruiting center to volunteer for military service Thursday, June 12, in Baghdad.
Kurdish Peshmerga forces, along with Iraqi special forces, deploy their troops and armored vehicles outside of Kirkuk, Iraq, on June 12.
Children stand next to a burnt vehicle during clashes between Iraqi security forces and ISIS militants in Mosul on Tuesday, June 10.
Civilians from Mosul escape to a refugee camp near Irbil, Iraq, on June 10.
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
Iraq under siege
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
The ISIS terror threat
STORY HIGHLIGHTS
- Anish Goel: The dilemma faced by the U.S. with Iraq could happen in Afghanistan
- He says: A weak Iraqi government with a poorly trained Army faces a fierce insurgency
- When U.S. troops leave Afghanistan, will government be able to stop Taliban, he asks
Editor's note: Anish Goel is a senior South Asia fellow at the New America Foundation. He previously served in the White House's National Security Council as senior director for South Asia and is director of geopolitical affairs for Boeing Commercial Airplanes. The opinions expressed in this commentary are solely those of the author.
(CNN) -- The current chaos in Iraq is tragic in almost every way. In retrospect, it is easy to conclude Iraq was not nearly ready enough to assume control of its own security situation when the United States made the decision to withdraw forces in December 2011. The wisdom of that decision will long be debated, but having made it, the United States is now understandably reluctant to undo it.
Even as the Obama administration sorts through a galaxy of unattractive options, none of which is guaranteed to provide stability, it would be well-advised not to overlook one of the biggest strategic lessons of the Iraqi deterioration. That would be the warning signal it provides for another country headed down the same disturbing path: Afghanistan.
While Iraq and Afghanistan are of course vastly different in terms of demographics, history and terrain, the parallels emerging between them in terms of security implications and political process are too important to ignore.
Anish Goel
An extremist militant group rising quickly and taking over large swaths of the country. A government focusing more on retribution and vengeance than reconciliation and governance. And a supposedly well-trained army essentially disintegrating in the face of real conflict. All of these characteristics describe the situation in Iraq, but all may be equally descriptive of Afghanistan in only a few short years.
Similar to Iraq, Afghanistan has an ethnic, well-organized and well-funded insurgent group poised to retake significant amounts of territory once U.S. troops leave.
There can be no doubt that the Taliban, having seized power once before in Kabul, is only biding its time until it can do so again. Much like the Islamic State in Iraq and Syria, the Taliban takes advantage of the limits of federal influence and governs by fear and aggression. It is only a matter of time before the Taliban, newly emboldened by the recent prisoner swap that freed five militants, takes control of southern Afghanistan and challenges Kabul's authority.
Compounding this situation is the shaky and corrupted political process under way, which makes Iraq look like a well-functioning democracy. In a variation of Iraqi Prime Minister Nouri al-Maliki's sectarian tendencies, outgoing Afghan President Hamid Karzai has done little to unite Afghanistan's many tribal factions during his 12 years in office, instead often fomenting discontent.
While both of the leading presidential candidates have pledged to focus on unity, there is little reason to believe that either will make it a priority. Ominously, one candidate has already boycotted the electoral process before the results of the June 14 run-off election even being announced. As a result, Afghanistan could become even more politically divided than Iraq is today.
Perhaps the biggest wild card in Afghanistan's future is the Afghan National Army. Much like the Iraqi army, the Afghan army will be charged with maintaining the security situation once the United States departs. And much like the Iraqis, the Afghans have been trained by the United States. As we heard in Iraq, the training of the Afghans will be sufficient preparation to defend the country from any threats that may arise.
While the Afghans may be courageous soldiers, there have been numerous reports of lackluster performances. So much so that their abilities in actual combat situations remain uncertain. In addition, Afghanistan has never had a real national fighting force, meaning there are few examples and fewer role models for current soldiers to emulate.
As a national army, the Afghans came from a much less mature and much less professional starting point than the Iraqis. As illustrated in Iraq, without the right training and leadership, soldiers may not be willing to defend against insurgents, despite an enormous numerical advantage.
Given all this, it is not difficult to look at the situation in Iraq and see Afghanistan's future. Indeed, with a resurgent Taliban, political instability in Kabul, an untested army and if the United States continues with its plan to drawdown forces at the end of 2014, especially without an agreement in place for the retention of American security personnel, a future similar to Iraq's may be inevitable.
However, unlike Iraq, this bleak Afghan future need not necessarily become reality. The United States still has an opportunity to avoid making the same mistakes it made in Iraq.
To accomplish this, the United States needs to redouble its efforts at training the Afghan army to develop it into a legitimate fighting force. It needs to put diplomatic pressure on the new president as soon as he takes office to embark on a unification and reconciliation process. And most important, it needs to plan for a withdrawal based on appropriate benchmarks and conditions, not on a political timetable.
Such a change in strategy would undoubtedly be domestically unpopular. But sometimes, unpopularity is a necessary price for avoiding a far worse alternative in the future.
Read CNNOpinion's new Flipboard magazine
Follow us on Twitter @CNNOpinion.
Join us on Facebook.com/CNNOpinion.