The beautiful princess was now 17 and her father would still not let her out of his sight. Her whole life she had been so sheltered and she wanted some excitement. A man especially.
A handsome young man her age lost his parents when he was 12 and has lived on the streets since. She volunteered to help the illiterate like himself read. He learned lots of things but none of which had to do with reading. He figured out what she dreams of doing, and where her room in the castle is and how to get to it, and how much the king is worth.
If all goes well he will get a hefty ransom for her and keep her to boot.
He is very smart and very ambitious.