CAIRO: A prominent Egyptian militant wanted for scores of terror attacks in his country was handed over by Libyan forces loyal to a commander pushing to take the capital of Tripoli and flown back to Egypt on Wednesday.Egyptian TV networks aired footage of a blindfolded Hisham El-Ashmawi, a former army officer turned militant, landing in Cairo and being taken off a military plane.El-Ashmawi was captured last October in the Libyan city of Derna, a longtime bastion of Islamic militants, by commander Khalifa Haftar’s self-styled Libyan National Army. Haftar’s forces now are battling to take Tripoli, fighting militias allied to a UN-supported government based in the Libyan capital.El-Ashmawi’s return to Egypt came after a meeting Tuesday between Haftar and Egypt’s intelligence chief, Abbas Kamel, in the eastern city of Benghazi, which serves as Haftar’s base.The handover reflects the close ties between Egypt and Haftar, whose divisive campaign against Tripoli, which started in April, has so far killed over 560 people, mainly combatants but also civilians, and displaced tens of thousands.Haftar’s forces said on their Facebook page late Tuesday that El-Ashmawi was being returned to his home country. Another Egyptian militant, wanted for attacks in the Mediterranean city of Alexandria, was also sent back, according to Egypt’s state-run MENA news agency.After his capture, Egyptian President Abdel-Fattah El-Sisi had called for El-Ashmawi’s extradition so that he can be “held accountable.”El-Ashmawi served in the Egyptian special forces before his dismissal in 2011 following a military trial in which he was accused of spreading radical Islamic ideas.After his dismissal, he joined militants in the Sinai Peninsula and helped establish an Al-Qaeda affiliate that later pledged allegiance to the Daesh group. At that point, El-Ashmawi broke up with the newly established Daesh affiliate, choosing to remain loyal to Egyptian militant Ayman Al-Zawahri who succeeded Osama bin Laden as leader of Al-Qaeda’s global terror network.Egyptian officials say El-Ashmawi subsequently traveled to Syria, the Gaza Strip and Libya to join various militant groups. Libya’s turmoil in the wake of the 2011 toppling and later killing of longtime dictator Muammar Qaddafi had enabled the rise of militants there.In Libya, El-Ashmawi set up the militant Al-Mourabitoun group blamed by Egypt for several attacks in the Western Desert, near the Libyan border. The attacks include a 2017 ambush that killed nearly 30 Christian pilgrims traveling to a remote monastery and an attack on a military checkpoint that killed more than two dozen troops, according to court documents obtained by The Associated Press.Egyptian authorities believe El-Ashmawi also was behind a 2013 attempted assassination in Cairo of Egypt’s then-Interior Minister Mohammed Ibrahim.He was sentenced to death in absentia by military courts in at least two cases but will have to be retried following his handover, according to Egyptian officials speaking on condition of anonymity because they were not authorized to talk to reporters.