inmate (n.)youdaoicibaDictYouDict[inmate 词源字典]
1580s, "one allowed to live in a house rented by another" (usually for a consideration), from in "inside" + mate "companion." Sense of "one confined to an institution" is first attested 1834.[inmate etymology, inmate origin, 英语词源]