Ottoman society was organized into distinct social classes, where the 'men of the sword' (soldiers and military leaders) and 'men of the pen' (lawyers, judges, and writers) were almost exclusively Muslims. Non-Muslims typically belonged to other classes, such as merchants or artisans.