 While in Byzantine territory, Otto II encountered a large Muslim army brought into the region by Abu al-Qasim, Emir of Sicily, and was soundly defeated in the ensuing battle of Stilo on July 14, 982.The defeat shifted the balance of power in southern Italy into Byzantine favor.While preparing to counterattack the Byzantine advance, Otto II suddenly died while in Rome, with his infant son Otto III succeeding him.