Before the 1970s , this function was served by institutions , asylums , poorhouses , orphanages and Victorian colonies .
Prior to the 1970s , this function was served by institutions , asylums , poorhouses , and orphanages .