Later serving as apartments for the needy