In Buddhism the Chintamani is said to be one of four relics that came in a chest that fell from the sky (many terma fell from the sky in caskets) during the reign of king Lha Thothori Nyantsen of Tibet.
The two-armed Mahākāla called Bernakchen (Black Coat) is a protector of the Karma Kagyu school, although he derives from Nyingma terma and was adopted by the Karma Kagyu during the time of 2nd Karmapa, Karma Pakshi.