Complex sentence: As to her border territories, Lithuania, Latvia and Estonia gained brief independence until occupied again by the Soviet Union in 1940.
Split into simpler sentences: As to her border territories, Lithuania, Latvia and Estonia gained independence. They were occupied again by the Soviet Union in 1940.