In a Macedonian variant collected from Ohrid by Bulgarian folklorist Kuzman Shapkarev with the title "Девойка, престорена на юнак" ("A Girl, Pretending to be a Boy"), the king wants a male heir, but the queen gives birth only to girls. So she disguises the youngest as a boy to appease her husband. His parents marry him to a princess, daughter of an Emperor. On their honeymoon, the disguised prince puts a sword between him and the princess. The Emperor invites his son-in-law to take part in a challenge to jump over a ditch and to tame his wild boar. Impressed with his abilities, the Emperor sends his son-in-law for a magical water and a pumpkin hung on a chain between heaven and earth. With the help of a talking horse, he obtains the items and is magically transformed into a man.Shapkarev, Kuzman. Сборник от български народни умотворения [The Bulgarian Folklore Collection]. Vol. VIII: Български прикаски и вѣрования съ прибавление на нѣколко Македоновлашки и Албански [Bulgarian folktales and beliefs with some Macedo-Romanian and Albanian]. 1892. pp. 147-149.
