The NPC belongs to whoever has the bigger army, end of story.