Complex sentence: The KGB was responsible for arming and training most of the Palestinian groups and decided which militant groups should receive the money and weapons.
Split into simpler sentences: The KGB was responsible for arming and training most of the Palestinian groups. In fact, it was the KGB which decided which militant groups should receive the money and weapons.