He was a member of the learned societies of many nations.

Please remove spaces between words.
Hewasamemberofthelearnedsocietiesofmanynations.