Treaty of Berlin
As a result of the Treaty of Berlin (1878), Herzegovina, along with Bosnia, were occupied by Austria-Hungary, only nominally remaining under Ottoman rule.