What is one who takes a portion of a contract, as for work, from the principal contractor called?

subcontractor — One who takes a portion of a contract, as for work, from the principal contractor. (Webster's 1913.)

Sources