Knowing that it would not be possible to conduct proper elections of the Patriarch upon his death, Patriarch Tikhon made a will where he appointed three candidates, one of whom would assume the leadership of the Church after Tikhon's own death. On April 12, 1925, one of the candidates, Metropolitan Peter of Krutitsy was elected as the Patriarchal Locum Tenens. However, only 8 months later, on December 10, 1925 he was arrested. Foreseeing his imminent arrest, he followed Tikhon's example, likewise appointing three candidates to succeed him. After Peter's arrest, Sergius of Nizhny Novgorod was the only bishop from Peter's "list" who was not in prison or exile at the time. He assumed leadership of the Church with the title Acting Patriarchal Locum Tenens, which presupposed that Peter of Krutitsy remained the de jure locum tenens and would return to his duties upon his release. However, Sergius himself also was again in prison from November 30, 1926 till March 27, 1927.
Patriarchate
Seeking to convince Soviet authorities to stop the campaign of terror and persecution against the Church, Sergius tried to look for ways of peaceful reconciliation with the government. On July 29, 1927, he issued his famous Declaration where he professed absolute loyalty of the Russian Orthodox Church to the Soviet Union and to its government's interests. The Declaration, albeit well-intended, sparked an immediate controversy among the Russian churchmen, many of whom broke communion with Sergius. Later, some of these bishops reconciled with Sergius, but many still remained in opposition to the "official Church" until the election of Patriarch Alexius I in 1945. Sergius also formed the Temporary Patriarchal Council which received recognition from the Soviet government. In 1934, Sergius assumed a more elevated title of "His Beatitude, Metropolitan of Moscow and Kolomna" and in 1936, following a false report of Metropolitan Peter of Krutitsy's death in prison, Sergius assumed the position of Patriarchal Locum Tenens. Despite his pledges that the ROC would not interfere in secular affairs and would be loyal to the state, the arrests and executions of Orthodox clergy by the GPU and later the NKVD, destruction of Orthodox cathedrals, churches, icons, seminaries and so on were commonplace throughout the 1920s and 1930s. Before the beginning of the German-Soviet War, in the entire USSR, only 4 bishops remained who were not imprisoned or exiled. Likewise, of the 50,000 Russian Orthodox priests in 1918, only 500 remained by 1935. Only after the German invasion of the Soviet Union in 1941 did Joseph Stalin finally start to scale back the anti-religious campaign, needing the moral support of the Church during the war. In the early hours of September 5, 1943, Stalin met with the three chief hierarchs of the Russian Orthodox Church and promised some concessions to religion in exchange for their loyalty and assistance. Among the concessions were the permission to open the Moscow Theological Seminary and Academy, the release of imprisoned clerics, the return of some church property, including the famous Troitse-Sergiyeva Lavra. In return, the Soviet government put the Church under the control of its secret services. However, the most important concession was the permission to gather the episcopal council and to elect a new Patriarch. On September 8, 1943, at a Council of Bishops, Sergius was elected Patriarch of Moscow. He was enthroned on September 12 of the same year, already being advanced in age and with declining health. He died in Moscow eight months later, on May 15, 1944.