Beethoven wrote it in 1825 for Prince Nikolai Galitzin, who also received Op. 127 and Op. 130. It is numbered 15 because of the order in which the late quartets were published, but it was the thirteenth he wrote. The Schuppanzigh Quartet gave the first performance on November 6, 1825.
Over the winter of 1824–25 Beethoven was seriously ill and feared he would die. The slow third movement is headed “Heiliger Dankgesang eines Genesenen an die Gottheit, in der lydischen Tonart”: a holy song of thanksgiving from a convalescent to the Deity, in the Lydian mode. Its slow, hymn-like sections alternate with livelier ones marked “Feeling new strength.”