Which branch of government regulates bankruptcy?

Congress, the legislative branch, has the power to regulate bankruptcies. Declaring bankruptcy provides legal relief for those who cannot pay their debts.