Pen and Sword: Meritocracy, Conflicts, and Bureaucratic Appointments in Imperial China