already almost two thousand civilizations that selestas crew had invited to join the federation had been firmly established within the federation of worlds , and peace had been reestablished among the warring territories of the federation in light of the potential lai-nen threat .