As a result, in a bid to wrest for the Seljuk throne, Şehzade Kılıç Arslan, son of the late Sultan Kaykaus II who had previously been living in the Crimea made his way to Anatolia, where his principal allies were the Çobanoğulları.
Meanwhile, Sultan Mesud II, elder brother of Kılıç Arslan, attempted to capture him but was defeated by Kılıç Arslan and his Çobanoğulları ally Yavlak, leading to Mesud being taken prisoner.
In the ensuing battle, Şemseddin Yaman Candar was successful in defeating the Çobanoğulları army and liberating Mesud II.
[4] As a result of his victory and liberation of Sultan Mesud, Yaman Candar was awarded the former Çobanoğulları possession of Eflani in the Black Sea region of the Anatolian peninsula as his fiefdom, from which the Candaroğulları dynasty was established with subsequent generations gradually expanding into neighboring provinces and reigning until 1461, the year which saw the principality's incorporation into the Ottoman Empire by Mehmed II.
[1] While there is no record of Yaman Candar's later life, it is believed that he died in the early 14th century.