In June 1944, Phibun was forced out of office and replaced by the first predominantly civilian government since the 1932 coup. Allied bombing raids continued, and a B-29 raid on Bangkok destroyed the two key power plants on 14 April 1945, leaving the city without power and water. Throughout the bombing campaign, the Seri Thai network was effective in broadcasting weather reports to the Allied air forces and in rescuing downed Allied airmen. The new government was headed by Khuang Aphaiwong, a civilian linked politically with conservatives such as Seni. The most influential figure in the regime, however, was Pridi Banomyong (who was serving as Regent of Thailand), whose anti-Japanese views were increasingly attractive to the Thais. In the last year of the war, Allied agents were tacitly given free access by Bangkok. As the war came to an end, Thailand repudiated its wartime agreements with Japan.