In a unanimous opinion, the all-Republican Texas Supreme Court has sided with the Texas Democratic Party in upholding the state’s ban on corporate campaign contributions.

Justice Eva Guzman wrote for the court in a decision Friday that the ban on political donations by corporations and nonprofit groups established in the Texas Election Code does not violate the First Amendment and is consistent with U.S. Supreme Court jurisprudence.