a two-hundred year war was waged until the federation defeated its enemy , the alavians ; however , after expending more resources than it could afford to maintain its own stability , the seynorynaelian federation withdrew from the alavians territory .