Complex sentence: This territory had been part of Bulgaria from 1878 to 1913, at which time it had become part of Romania after Bulgaria's defeat in the Second Balkan War.
Split into simpler sentences: This territory had been part of Bulgaria from 1878 to 1913. In 1913 it became part of Romania after Bulgaria's defeat in the Second Balkan War.