It is not clear whether the 10,000–20,000 Jewish refugees (from Poland and elsewhere) were counted in the January 1941 census. They and anyone who could not prove legal residency since 1850, about 20,000 people, were deported to southern Poland and either abandoned there or were handed over to the Germans between July 15 and August 12, 1941. In practice, the Hungarians deported many people whose families had lived in the area for generations. In some cases, applications for residency permits were allowed to pile up without action by Hungarian officials until after the deportations had been carried out. The vast majority of those deported were massacred in Kameniec-Podolsk (Kamianets-Podilskyi massacre) at the end of August.