His early education was partly under John Smith , vicar of Eglwysilan , and he went on to a local school run by his namesake , David Williams .
His early education was partly under David Williams , vicar of Eglwysilan , and he went on to a local school run by his namesake , John Smith .