Time of residence Homeless persons according to time of residence in Spain for reasons for leaving the accommodation they had before becoming homeless Unidades: percentage ,Total,From 0 to 12 months,From 13 to 35 months,From 3 to 5 years,More than 5 years, Total,100,11,6,8,5,9,3,70,6, Separation from partner,100,1,8,3,3,3,1,91,8, They or their children suffered from violence,100,21,4,12,4,5,61,1, The building where they lived was in ruins,100,3,1,6,2,5,9,84,7, Eviction from the dwelling,100,3,6,4,2,5,2,87, The rental contract ended,100,5,3,4,3,8,8,81,6, Loss of their job,100,3,6,4,7,7,84,7, Hospitalisation,100,3,6,3,6,6,5,86,2, They were deprived of their freedom,100,10,8,3,9,4,2,81,1, Change in municipality,100,10,4,16,5,11,4,61,7, They could no longer pay for accommodation,100,6,1,3,3,7,2,83,4, Having to start from scratch after emigrating to another country,100,33,2,22,7,18,9,25,3, Addiction problems,100,0,5,0,8,3,95,7, Departure or abandonment from a juvenile centre,100,3,4,7,1,38,1,51,4, Other causes,100,11,5,7,7,10,6,70,3, Notas: Fuente: National Statistics Institute