Two Middle High German versions were produced: one, the "Laubacher Barlaam", by Bishop Otto II of Freising and another, Barlaam und Josaphat, a romance in verse, by Rudolf von Ems.
According to the legend, King Abenner or Avenier in India persecuted the Christian Church in his realm, founded by the Apostle Thomas.