In the night the dog came again , took the Princess on his back and ran away with her to the Soldier , who was very much in love with her , and would have liked to have been a Prince , so that he might have had her for his wife .