We construct an individual-level data set of partnership contracts in late-nineteenth-century Rio de Janeiro to study the determinants of contract terms. Partners with limited liability contributed more capital and received lower draws for private expenses and lower profit shares than their unlimited partners. Unlimited partners in turn received higher-powered incentives when they contracted with limited partners than when they contracted with unlimited partners. A reform that changed the relative bargaining power further improved the terms of unlimited partners in limited firms. These findings highlight the roles of risk, incentives, and bargaining power in shaping contracts.