The state paid $1300 a week for a room in emergency housing