Romania joined the Russo-Turkish War in April 1877, signing a treaty of alliance with the Russian Empire which allowed the Russian Army to cross through Romanian territory. On 10 May, Romania declared its independence.