 John lived in a palace close to the caliphal palace in Córdoba.The caliph's ambassador, Hasdai ibn Shaprut, met with this embassy.The caliph, fearing that the letter of the German emperor might contain matter derogatory to Islam, commissioned Hasdai to open the negotiations with the envoys.