State foreclosure and bankruptcy laws govern the rights of mortgage lenders and borrowers during foreclosure and bankruptcy proceedings and thereby affect lenders' exposure to credit risk. This paper seeks to understand the impact of these laws on the types of mortgages originated. The empirical...