Complex sentence: A number of Boers fled into Swaziland, only to have the Swazi disarm them and confiscate their cattle.
Split into simpler sentences: A number of Boers fled into Swaziland. Only for the Swazi to disarm them and confiscate their cattle.