Complex sentence: The primary duty of the foreign ministry was directing the general line of Soviet foreign policy, the MER also represented the country abroad and participated in talks with foreign delegations on behalf of the Soviet government.
Split into simpler sentences: The primary duty of the foreign ministry was directing the general line of Soviet foreign policy. The MER represented the country abroad and participated in talks with foreign delegations on behalf of the Soviet government.