When he was a young man he played the organ in several churches in London and started to compose. He wrote some music for melodramas in theatres. When he was 22 he became organist of Hereford Cathedral. This changed his life, because his career now focussed on church music. The choir at Hereford was not very good. The organ was broken, and his lodgings were not nice. However, he was able to perform in the Three Choirs Festival and he composed some church music, including the popular anthem "Blessed be the God and Father", written for an Easter Day service when the choir only had boys and one male singer. He married the sister of the dean of the cathedral. Her family did not approve and did not go to the wedding.