In the initial phase of Germany's invasion of the Soviet Union, Cossack émigrés were initially barred from political activity or travelling into the occupied Eastern territories. Hitler had no intention of entertaining the political aspirations of the Cossacks, or any minority group, in the USSR. As a result, collaboration between Cossacks and the Wehrmacht began in ad hoc manner through localized agreements between German field commanders and Cossack defectors from the Red Army. Hitler did not officially sanction the recruitment of Cossacks and lift the restrictions imposed on émigrés until the second year of the Nazi-Soviet conflict. During their brief occupation of the North Caucasus region, the Germans actively recruited Cossacks into detachments and local self-defense militias. The Germans even experimented with a self-governing district of Cossack communities in the Kuban region. When the Wehrmacht withdrew from the North Caucasus region in early 1943, tens of thousands of Cossacks retreated with them, either out of conviction or to avoid Soviet reprisals.