Serendipity language was by Horace Walpole in 1754. In a letter he wrote to his friend Horace Mann, Walpole explained an unexpected discovery he had made about a (lost) painting of Bianca Cappello by Giorgio Vasari by reference to a Persian fairy tale, "The Three Princes of Serendip". The princes, he told his correspondent, were "always making discoveries, by accidents and sagacity, of things which they were not in quest of". The name comes from "Serendip", an old name for Sri Lanka (Ceylon), hence "Sarandib" by Arab traders. It is derived from the Sanskrit "Siṃhaladvīpaḥ" (Siṃhalaḥ, Sri Lanka + dvīpaḥ, island).
The Princes and the Treasure gold, land, and makes them both princes. The story ends with the marriage of the two princes, who live happily ever after in their own castle. Miles came up with the idea for "The Princes and the Treasure" during a visit to the Magic Kingdom, where he watched adult performers singing and dancing together as prince and princess couples. This caused him to note the absence of same sex pairings in children's fairy tales and upon returning home, began developing the story and characters. While writing the story Miles chose not to have the characters of Gallant and Earnest kiss,