At the same time the Baku Commune was involved in heavy fighting with the advancing Caucasian Ottoman Army in and around Ganja. The Ottoman Empire's Enver Pasha began to move forward with the newly established Army of Islam. Major battles occurred in Yevlakh and Agdash.