Gradually, Chanakya and Chandragupta subdued all the regions outside the capital. Finally, they captured Pataliputra and Chandragupta became the king. They allowed the king Nanda to go into exile, with all the goods he could take on a cart. As Nanda and his family were leaving the city on a cart, his daughter saw Chandragupta, and fell in love with the new king. She chose him as her husband by svayamvara tradition. As she was getting off the cart, 9 spokes of the cart's wheel broke. Interpreting this as an omen, Chanakya declared that Chandragupta's dynasty would last for 9 generations.