There is an evidence asserting that Shadow Theatre was borrowed from Egypt in 16th century. Sultan Selim I, who incorporated Egypt into the Turkish realm in 1517, commanded the last Sultan of The Mamelukes to be hanged. This order was carried out and Sultan Tumanbay II was hanged.
In the palace of Roda lsland in the River Nile Sultan Selim watched a performance of a shadow play, representing the hanging of the last Sultan of the Mamelukes. He was so delighted in the performance that he rewarded the player and invited him to Istanbul. So, it appears that the Sultan, on his return, took with him a troupe of shadow players to Turkey.
Karagöz, is the title role in the Turkish shadow theatre, so the theatre itself is also called Karagöz. Many legendary accounts have been advanced regarding the origin of the Karagöz. According to the most popular rumour, Hacivat was a mason and Karagöz was a blacksmith. During the reign of the Sultan Orhan (1326 - 1359), they had worked in building a mosque in Proussa. They were killed by Sultan Orhan because they delayed the building of the mosque by their conversations and jokes.