Victory can only be achieved by conquering all colonized systems of the opposition, ending the opposing empire. If a defeated empire had starbases in uncolonized systems that were not conquered, they are removed, making the territory neutral again. Each side keeps all conquered systems.