bai history