This thesis focuses on two themes in the field of empirical corporate finance and banking. First, the importance of credit market structure for price and non-price conditions of credit (first and second chapter); second, the importance of financing frictions for the allocation of control rights over firms (third chapter). The first chapter investigates the role of competition between lenders in determining how changes in capital requirements passthrough to the cost of credit for firms. Exploiting a drop in capital requirements through a Regression Discontinuity Design and detailed data on credit relationships from the Bank of Italy’s Credit Register, I show that firms with lower switching costs between credit providers experienced a much la...