The Home Army was loyal to the Polish government-in-exile and to its agency in occupied Poland, the Government Delegation for Poland ("Delegatura"). The Polish civilian government envisioned the Home Army as an apolitical, nationwide resistance organisation. The supreme command defined the Home Army's chief tasks as partisan warfare against the German occupiers, the re-creation of armed forces underground and, near the end of the German occupation, a general armed rising to be prosecuted until victory. Home Army plans envisioned, at war's end, the restoration of the pre-war government following the return of the government-in-exile to Poland.