There are various versions about the origin of the founder of Kerajaan Demak. According to
Babad Tanah Jawi, Raden Patah is thought to have been the son of , the last king of the
Majapahit Empire of a
Chinese concubine. This Chinese concubine was the daughter of Kyai Batong (aka Tan Go Hwat). After giving birth to Raden Patah, the Chinese daughter married , giving birth to
Raden Kusen (aka Kin San). According to
Purwaka Caruban Nagari, the real name of the Chinese concubine is Siu Ban Ci, daughter of Tan Go Hwat and Siu Te Yo from
Gresik. Tan Go Hwat is a trader and scholar with the title Shaykh Bantong (aka Kyai Batong). According to the Chinese chronicle of the
Sam Poo Kong temple, the nickname when Raden Patah was young was Jin Bun, son of Kung-ta-bu-mi (aka or ) king of Majapahit of a Chinese concubine. Then the Chinese concubine was given to a half Chinese named Swan Liong in Palembang. Swan Liong is the son of ) from a Chinese concubine. From this second marriage, Kin San (aka Raden Kusen) was born. This Chinese chronicle reports the birth year of Jin Bun as 1455. Therefore, Raden Patah was born before Bhre Kertabhumi was governing the Majapahit Empire (reigned 1474–1478). According to Slamet Muljana (2005), Babad Tanah Jawi was careless in identifying Brawijaya V as Raden Patah's father as well as Arya Damar's father, more precisely the content of Sam Po Kong's Chinese chronicle script seems more plausible that Swan Liong's father (aka Arya Damar) is
Yang-wi-si-sa (楊惟西沙) in contrast to Jin Bun's (aka Raden Patah) father, namely Kung-ta-bu-mi or Kertabhumi aka Brawijaya V. According to
Sejarah Banten, the founder of the
Demak Sultanate was named Cu Cu (Gan Eng Wan?), The son (or subordinate) of the former
prime minister of
China (Haji Gan Eng Cu?) who moved to
East Java. Cu Cu served Majapahit and contributed to suppressing the Arya Dilah rebellion, the
regent of Palembang. This doesn't add up, as written in
Babad Tanah Jawi. Because, Arya Dilah is another name for , Raden Patah's own adoptive father. Furthermore, for his services, Cu Cu became the son-in-law of the king of
Majapahit and was made the regent of Demak with the title Arya Sumangsang (Aria Suganda?). Although there are various versions, it is said that the founder of Demak had ties to
Majapahit,
China,
Gresik, and
Palembang. == Foundations of the Demak Sultanate ==