The Battle of Ilovaisk started on 7 August 2014, when the Armed Forces of Ukraine and pro-Ukrainian paramilitaries began a series of attempts to capture the city of Ilovaisk from pro-Russian insurgents affiliated with the Donetsk People's Republic (DPR).[4][25] Whilst government forces were able to enter the city on 18 August,[26] they became encircled during 24-26 August by overwhelming Russian military forces that crossed the border, joining the battle. After days of encirclement, government forces made an agreement with the insurgents, favoured by Russian president Vladimir Putin, to allow them to retreat from the city.[27] This agreement was not honoured, and many soldiers died whilst trying to escape.[9][28]