三国史記
The rebellion was eventually suppressed by Kim Yushin and Kim Alcheon. According to Samguk Sagi, Bidam and his thirty followers were executed on February 17, 647 (lunar calendar).