the whole of Georgia. The swamps were drained and the town was rebuilt around a new military hospital. Its population, however, was still small; in 1866, a census recorded that 336 men and 280 women, mostly local families or army officers and their dependents, lived in Gagra. The town suffered badly in the Russo-Turkish War, 1877-1878, when Turkish troops invaded, destroyed the town and expelled the local population. Russia won the war, however, and rebuilt Gagra again. In 1904 the town was discovered by Duke Alexander of Oldenburg, a member of the Russian royalty. He saw the potential of the region's sub-tropical climate and decided to build a high-class resort there. Having raised a large sum of money from the government, he built a palace there for himself and constructed a number of other buildings in an eclectic variety of architectural styles from around Europe. A park was laid out with tropical trees, and parrots and monkeys were imported to give it an exotic feel. Despite the expensive work, the resort was not initially a success, although it did later attract a growing number of foreign tourists visiting on cruises of the Black Sea. Following the founding of the resort, the area was ceded from Sukhum Okrug to Black Sea Governorate in 1904. Gagra under the Soviet Union In the Russian Revolution of 1905, a local uprising produced a revolutionary government in the town, which founded a short-lived Republic of Gagra. This was soon defeated and the revolutionaries arrested en masse. The First World War a few years later was a disaster for Gagra, destroying the tourist trade on which it depended. The Russian Revolution shortly afterwards saw the Bolsheviks take over the town; despite a brief French attempt to repel them during the Russian Civil War, the town was firmly incorporated into the new Soviet Union within Georgian SSR. Bolshevik leader Vladimir Lenin issued a decree in 1919 establishing a "worker's resort" in Gagra, nationalising the resort that had been built by Oldenburg. It became a popular holiday resort for Soviet citizens and during World War II gained a new role as a site for the rehabilitation of wounded soldiers. After the war, various state-run sanatoriums were built there. The resort grew and was developed intensively as part of the "Soviet Riviera". A 1985 musical film Winter Evening in Gagra further popularized the resort. Gagra in post-soviet Abkhazia In