The law that separated investment banking from retail banking was the Glass-Steagall Act of 1933. This landmark legislation prohibited commercial banks from engaging in activities such as underwriting and selling securities, which is what had previously been done by the investment bankers. The goal of this law was to protect investors by separating these two types of institutions, and it has largely been successful in doing so.