The Treaty of Berlin was the final act of the Congress of Berlin ( 13 June - 13 July 1878 ) , by which the United Kingdom , Austria-Hungary , France , Germany , Italy , Russia and the Ottoman Empire under Sultan Abdul Hamid II revised the Treaty of San Stefano signed on 3 March the same year .
In it , the United Kingdom , Austria-Hungary , France , Germany , Italy , Russia and the Ottoman Empire wrote the Treaty of San Stefano .