By MARK SHERMAN (Associated Press) WASHINGTON (AP) — The Supreme Court on Thursday rejected a conservative-led attack that could have undermined the Consumer Financial Protection Bureau. The justices ruled 7-2 that the way the CFPB is funded does not violate the Constitution, reversing a lower court and drawing praises from consumers. Justice Clarence Thomas wrote the majority opinion, splitting with his frequent allies, Justices Samuel Alito and Neil Gorsuch, who dissented. The CFPB was created after the 2008 financial crisis to regulate mortgages, car loans and other consumer finance.