He was then taken to a shelter