In 630 CE, Maharaja Derbar Raja of Gemeron (now known as Bandar Abbas) in Persia was defeated in battle and escaped to Sri Lanka, and he was later blown off course by a storm to the remote shores of Kuala Sungai Qilah, Kedah.[citation needed] The inhabitants of Kedah found him to be a valiant and intelligent person, and they made him the king of Kedah. In 634 CE, a new kingdom was formed in Kedah consisting of Persian royalty and native Malay of Hindu faith, the capital was Langkasuka.[citation needed]