《宋史·列传·卷七十一》
王珪因此而获罪，贬为万安军司户参军，削夺诸子官籍。
珪由是得罪，追贬万安军司户参军，削诸子籍。
Wang Gui was thus convicted, demoted to the rank of military advisor to the Prefect of Wan'an, and his sons were stripped of their official status.
<s>[INST] 请提供这段文言文的现代汉语解释: 珪由是得罪，追贬万安军司户参军，削诸子籍。 [/INST] 王珪因此而获罪，贬为万安军司户参军，削夺诸子官籍。</s>
请提供这段文言文的现代汉语解释: 珪由是得罪，追贬万安军司户参军，削诸子籍。
user
王珪因此而获罪，贬为万安军司户参军，削夺诸子官籍。
assistant