Task: Translation
Input (English): Estonia and Latvia, which were occupied by the Soviet Union until the early 1990s, joined the European Union in 2004.
Output (Filipino): Ang Estonia at Latvia, na inokupa na ng Soviet Union hanggang sa mga unang bahagi ng 1990 ay sumama sa European Union noong 2004.