Brahmadatta, king of Bārāṇasī, had a son Pādañjali, who was an idle loafer. When the king died, the courtiers, headed by the Bodhisatta who was the chaplain, went to test him. At everything the boy sneered with a superior air, whether it were right or wrong; and the Bodhisatta was made king in his stead.
The story was related in reference to Lāḷudāyī, who once curled his lip in scorn when the two chief disciples were praised. Lāḷudāyī is identified with Pādañjali. J.ii.263 f.