During his service as the instructor of the college Shikhlinski published a number of works on artillery, including a book titled “Use of Field Artillery in a Battle”, and invented an original target-finding device, which was called “Shiklinski triangle”. In 1908 Shiklinski was promoted to the rank of colonel, and in 1912 he was conferred the rank of major-general and assigned the deputy chief of Officer's Artillery College. World War I When World War I started in 1914 Ali-Agha Shikhlinski was appointed the commander of St. Petersburg garrison artillery. In January 1915, Shikhlinski was seconded to the Northwestern front to manage the training of heavy artillery guncrews. On May 23, 1915, he was appointed the general for errands at the commander-in-chief of the Northwestern front, and after division of the front into two held the same position at the Western front. On October 31, 1915, he was appointed to the position of the general for errands at the Supreme Commander-in-Chief. He was charged with the creation of heavy artillery battalions and brigades. From April 1916 16, Shikhlinski was the acting inspector of Western Front artillery. He was in charge of the artillery aspects of operations of the Western Front. On April 2, 1917 Ali Agha Shikhlinski was promoted to the rank of lieutenant-general. Azerbaijani National Army After the February Revolution in Russia, Ali Agha Shikhlinski was appointed the commander of the 10th Russian army in September 1917. After the October revolution, he resigned from his position and moved to Tiflis, where he was charged with formation of the Muslim (Azerbaijani) corps. The corps supported the Ottoman Army of Islam in the Battle of Baku with Bolshevik and British forces. In January 1919, the government of Azerbaijan Democratic Republic appointed Shikhlinski a deputy to the Minister of Defense of Azerbaijan Republic Samad bey Mehmandarov. On June 28, 1919, Ali-Agha Shikhlinski was promoted to the rank of General of the Artillery of the Azerbaijani army. After the Red Army invasion of Azerbaijan and establishment of the Soviet regime in Azerbaijan in April 1920, Shikhlinski was arrested and released two months later. Red Army In 1920–1921, he was seconded to Moscow, where he was an adviser to the artillery inspection department of Red Army and taught in Higher Artillery School. On 18 July 1921, Shikhlinski was transferred back to Baku, where he taught at a military school and became a deputy to the