The Sarbanes-Oxley Act, enacted in 2002, is a U.S. federal law that established comprehensive reforms to improve corporate financial disclosures and prevent accounting fraud. It was primarily a response to financial scandals like Enron and WorldCom, aiming to protect investors by enhancing the accuracy and reliability of corporate disclosures in financial statements.