By 16 September, the Italian force had advanced to Maktila, around 80 mi (130 km) west of Mersa Matruh, where they halted due to supply problems. Despite Mussolini urging that the advance carry on, Graziani ordered his force to dig in around Sidi Barrani, and fortified camps were established in forward locations; additional troops were also positioned behind the main force. In response to the dispersed Italian camps, the British planned a limited five-day attack, Operation Compass, to strike at these fortified camps one by one. The British Commonwealth force, totalling 36,000 men, attacked the forward elements of the 10-division-strong Italian army on 9 December. Following their initial success, the forces of Operation Compass pursued the retreating Italian forces. In January, the small port at Bardia was taken, soon followed by the seizure of the fortified port of Tobruk. Some 40,000 Italians were captured in and around the two ports, with the remainder of the Tenth Army retreating along the coast road back to El Agheila. Richard O'Connor sent the 7th Armoured Division across the desert, with a small reconnaissance group reaching Beda Fomm some ninety minutes before the Italians, cutting off their retreat. Although desperate attempts were made to overcome the British force at the Battle of Beda Fomm, the Italians were unable to break through, and the remnants of the retreating army surrendered. Thus, over the course of 10 weeks Allied forces had destroyed the Italian Tenth Army and reached El Agheila, taking 130,000 prisoners of war in the process.