 In 1874 he unsuccessfully contested the Brecknock constituency against W Fuller Maitland.Gwyn played a prominent role in the public life of the Borough of Neath and contributed land towards the building of a hall, known as the Gwyn Hall.He died at his home in 1888.