As the nobility fought for the throne, the kingdom was weakened, and by 1186, the territory of modern-day Montenegro became part of the state ruled by Stefan Nemanja and was a part of various state formations ruled by the Nemanjić dynasty for the next two centuries. After the Serbian Empire collapsed in the second half of the 14th century, the most powerful Zetan family, the Balšićs, became sovereigns of Zeta.