Complex sentence: There were two city marshals, and each had a staff of six men, whose job was to police the city for prostitutes, vagrants, and unlicensed tradesmen.
Split into simpler sentences: There were two city marshals, and each had a staff of six men. Their job was to police the city for prostitutes, vagrants, and unlicensed tradesmen.