sentences:  His treks to and from the capital for these exams not only allowed him to interact will all manner of laborers and craftsmen, but also exposed him to the realities of the declining empire.Marauding bands and encroaching tribes people threatened China in the north, while peasant revolts and invasions plagued the south.Even in Beijing, the twisting and turning machinations of those vying for power often spilled over into the scholarly realm, sometimes subjecting them to expulsion.