<P> Scheherazade had perused the books, annals and legends of preceding Kings, and the stories, examples and instances of bygone men and things; indeed it was said that she had collected a thousand books of histories relating to antique races and departed rulers . She had perused the works of the poets and knew them by heart; she had studied philosophy and the sciences, arts and accomplishments; and she was pleasant and polite, wise and witty, well read and well bred . </P> <P> Against her father's wishes, Scheherazade volunteered to spend one night with the king . Once in the king's chambers, Scheherazade asked if she might bid one last farewell to her beloved sister, Dunyazade (دنیازاد Donyāzād), who had secretly been prepared to ask Scheherazade to tell a story during the long night . The king lay awake and listened with awe as Scheherazade told her first story . The night passed by, and Scheherazade stopped in the middle . The king asked her to finish, but Scheherazade said there was no time, as dawn was breaking . So, the king spared her life for one day to finish the story the next night . The following night, Scheherazade finished the story and then began a second, even more exciting tale, which she again stopped halfway through at dawn . Again, the king spared her life for one more day so she could finish the second story . </P> <P> And so the king kept Scheherazade alive day by day, as he eagerly anticipated the finishing of the previous night's story . At the end of 1,001 nights, and 1,000 stories, Scheherazade told the king that she had no more tales to tell him . During these 1,001 nights, the king had fallen in love with Scheherazade . He spared her life, and made her his queen . </P>

What happens at the end of arabian nights
find me the text answering this question