XIII Corps ( United Kingdom ) XIII Corps was a British infantry corps during World War I and World War II . World War I . XIII Corps was formed in France on 15 November 1915 under Lieutenant - General Walter Congreve to be part of Fourth Army . It was first seriously engaged during the Battle of the Somme in 1916 . On the First day on the Somme , the corps held the southern flank of the British line . The corps objective was the village of Montauban . The two assault divisions — the 18th ( Eastern ) and 30th Division , both New Army formations — seized all their objectives . World War II . On 1 January 1941 , while the Western Desert Force was fighting the Italian Tenth Army in Operation Compass , it was redesignated " XIII Corps " . It then included British 7th Armored Division and Australian 6th Infantry Division . By February 1941 , Operation Compass was a complete victory . When Operation Compass came to an end with the surrender of the Italian Tenth Army , XIII Corps HQ was deactivated in February and its responsibilities taken over by HQ Cyrenaica , a static command . Allied forces in the Western Desert took a defensive posture as Middle East Command focused on the Battle of Greece . The Italian forces in North Africa were reinforced with the Afrika Corps . Axis forces now commanded by Rommel counterattacked . Lieutenant - General Philip Neame , the commander in Cyrenaica , was captured during Rommel ' s advance . XIII Corps was reactivated as Western Desert Force HQ on 14 April to take command of British and Commonwealth forces in the Western Desert . In August 1941 Archibald Wavell was replaced as C - in - C Middle East by Claude Auchinleck and the British and Commonwealth forces were reinforced to create in September 1941 the Eighth Army . During this reorganisation , Western Desert Force was once again redesignated as XIII Corps and became part of the new army . The Corps remained part of the Eighth Army throughout the rest of the North African Campaign which ended in May 1943 XIII Corps took part in the Allied invasion of Sicily in July 1943 . XIII Corps took part in the Allied invasion of Italy , executing Operation Baytown on 3 September 1943 . XIII Corps then fought as the right wing of Eighth Army along the Adriatic coast until the end of 1943 . In May 1944 , XIII Corps was shifted to the left - centre of the Allied front . During the fourth Battle of Monte Cassino XIII Corps made a successful opposed crossing of the Garigliano and Rapido rivers , and broke into the heart of the German defenses in the Liri valley . On 17 August 1944 , XIII Corps was transferred to the United States Fifth Army to become its right wing . Under Fifth Army , XIII Corps fought in the Apennines mountains to break the Gothic Line . On 18 January 1945 , XIII Corps returned to Eighth Army . XII Corps was the left wing of Eighth Army in the Spring 1945 offensive in Italy , which ended in May 1945 with the surrender of Axis forces in Italy . 2nd New Zealand Division , operating with the corps , confronted Yugoslav troops at Trieste , entering and capturing the city . The corps restored order in the strife - ridden city and enforced the Morgan Line from May 1945 to mid - 1946 . General Officers Commanding . Commanders included :