On 27 August 1916, Romania entered World War I on the side of the Allies, three of its armies invading Transylvania. The 1st and 2nd Armies invaded the southern part, while the Romanian North Army invaded the northeastern part. Unlike the 1st and 2nd Armies – which had to contend with a German-led counter-offensive (First Battle of Petrozsény, Battle of Brassó) – the North Army faced primarily Austro-Hungarian forces, and as such its campaign hardly had any major battles. After conquering three Hungarian urban districts (including two county capitals), the undefeated North Army was ordered to withdraw due to events outside its control, after inflicting heavier losses than those it had incurred.