The story happened in late the Sui Dynasty,which is about how LiShiMin and his underlings founded Tang Dynasty.