He founded the first gay rights organization and a sex research institute and gained international renown for his science. He worked in pre-Nazi Germany.