The wars ended in the Treaty of Berlin in 1878 .
Occasional cross-border skirmishing continued until the early 1880s .
The wars ended in the Treaty of Berlin in 1878 , but occasional cross-border skirmishing continued until the early 1880s .