The third caliph, Uthman, solved this political problem by choosing one of these collections to be the standard version for the entire Muslim community. He had the other collections destroyed.
Sahih Al Bukhari 4987, Vol 6 No. 510, Arabic Book 66 Hadith 9
https://sunnah.com/bukhari:4987
Narrated Anas bin Malik: Hudhaifa bin Al−Yaman came to `Uthman at the time when the people of Sham and the people of Iraq were Waging war to conquer Arminya and Adharbijan. Hudhaifa was afraid of their (the people of Sham and...