William Thomas (1834 – 11 December 1879), better known by his bardic name of Gwilym Marles, was a Welsh minister and poet, and the great-uncle of Dylan Thomas. Dylan was given his middle name, "Marlais", in honour of William Thomas, who is also believed to have inspired the character of Rev. Eli Jenkins in the play Under Milk Wood.