When Sakyamuni was preaching to 12,000 believers at Rajagrha, he mentioned that there once was a king called Dharmakara who abandoned his kingdom and entered into the ascetic life as a disciple of Lokesvararaja.
釋迦牟尼佛在王舍城耆闍崛山中，向一萬二千名弟子說法時，提起有個國王俗名法藏，棄國出家後，從「世自在王佛」修行。