sentences:  In 622, the chancellor Chen Shuda recommended Cui Renshi to be capable of editing imperial histories, and he was promoted to the post of military advisor to the commander of one of the imperial armies, but also given the responsibility of assisting in editing the histories of the Liang dynasty and Northern Wei.Early in the reign of Emperor Gaozu's son, Emperor Taizong, Cui Renshi was made an assistant to the imperial censorate.In 627, there was an alleged treasonous plot that occurred in Qing Prefecture (青州, roughly modern Qingzhou, Shandong), and Cui was sent to investigate.