In the meantime, on 22 November 1918, the Soviet Red Army had attacked Estonia and soon occupied most of the country. The fledgling Estonian Army, with foreign assistance, managed to counter-attack in early January 1919 and went on to liberate the country by late February. It subsequently moved on to liberate Latvia. Aviation Company aircraft flew a limited number of missions in support of the army. Following the February 1920 peace treaty with the Soviet Russia, the Estonian Army was demobilized, but the Aviation Company was retained. With the delivery of more aircraft, it was reorganized as an Aviation Regiment ("Lennuväe rügement"), comprising a landplane squadron, seaplane squadron, flying school and workshops. More bases and seaplane stations were built.