From 1903 to 1930, Moreira was the director of the Hospício Nacional de Alienados (National Asylum for the Insane), currently Hospício Pedro II, in Rio de Janeiro. During his tenure, he humanized the patients' treatment and ended their imprisonment.
