Gounod returned to Paris where he got a job as director of music at a church. He thought of becoming a priest, but then he changed his mind. He left his job in the church. Some time later he became friends with the singer Pauline Viardot and her husband Louis. He spent some time at their house composing the opera "Sapho".