Survey on Homeless Persons Period of residence Homeless Persons by period of residence in Spain and reasons why they left the accommodation they had before Units: absolute value/percentage ;TOTAL;;Separation from partner;;They or their children suffered from violence;;The building where they lived was in ruins;;Eviction from the dwelling;;The rental contract ended;;Loss of their job;;Hospitalisation;;The person was deprived of her/his freedom;;Change in municipality;;They could not pay the rent;;Other reasons;;There is no record;; ;persons;% persons;persons;% persons;persons;% persons;persons;% persons;persons;% persons;persons;% persons;persons;% persons;persons;% persons;persons;% persons;persons;% persons;persons;% persons;persons;% persons;persons;% persons; TOTAL;22,938;100.0;4,799;100.0;2,236;100.0;842;100.0;2,786;100.0;1,337;100.0;10,328;100.0;1,556;100.0;1,709;100.0;2,971;100.0;5,965;100.0;9,201;100.0;163;100.0; 0 to 12 months;501;2.2;21;0.4;37;1.7;26;3.1;11;0.4;4;0.3;75;0.7;7;0.4;27;1.6;159;5.3;19;0.3;293;3.2;..;..; 13 to 35 months;2,622;11.4;197;4.1;356;15.9;123;14.6;113;4.1;81;6.1;639;6.2;64;4.1;202;11.8;568;19.1;245;4.1;1,636;17.8;20;12.4; 3 to 5 years;1,524;6.6;101;2.1;84;3.8;57;6.7;94;3.4;109;8.2;618;6.0;72;4.6;9;0.5;303;10.2;351;5.9;843;9.2;8;4.8; More than 5 years;18,292;79.7;4,480;93.3;1,759;78.6;636;75.5;2,568;92.2;1,142;85.4;8,995;87.1;1,412;90.8;1,470;86.0;1,941;65.3;5,349;89.7;6,429;69.9;135;82.8; Notes: Source: National Statistics Institute