He was elected a fellow of the Royal Society after his return from Brazil on 14 December 1820 , and married his first wife Mary Parkes in 1823 , with whom he had four sons ( William John , George Frederick , Henry Gabriel and Edwin Newcombe ) and a daughter ( Mary Frederica ) .
In 1823 , he married his first wife Mary Parkes , and had four sons and a daughter .