The Treaty of San Stefano was signed on 3 March 1878 by Russia and the Ottoman Empire. It was to set up an autonomous Bulgarian principality spanning Moesia, Macedonia and Thrace, roughly on the territories of the Second Bulgarian Empire, and this day is now a public holiday called National Liberation Day. The other Great Powers immediately rejected the treaty out of fear that such a large country in the Balkans might threaten their interests. It was superseded by the Treaty of Berlin, signed on 13 July. It provided for a much smaller state, the Principality of Bulgaria, only comprising Moesia and the region of Sofia, and leaving large populations of ethnic Bulgarians outside the new country. This significantly contributed to Bulgaria's militaristic foreign affairs approach during the first half of the 20th century.