Washington (CNN) Senate Republicans joined Democrats Wednesday to overturn a rule backed by Education Secretary Betsy DeVos that would have limited the student debt relief granted to people defrauded by for-profit colleges — an unusual bipartisan move to undo a Trump administration initiative to weaken an Obama-era policy.

It will now go to President Donald Trump, who can either sign the bill or decide to stand with DeVos by vetoing the legislation and letting her rule go into place as was expected on July 1. A policy statement issued by the administration last month said that the President's advisers would recommend that he veto the resolution. Congress does not have the votes to overturn the President's veto.

Most GOP senators who crossed party lines to reverse the policy are up for reelection this year, including Sens. Martha McSally of Arizona, Susan Collins of Maine, Cory Gardner of Colorado and Joni Ernst of Iowa.

The additional Republicans who voted with their Democratic colleagues were Sens. Shelley Moore Capito of West Virginia, Josh Hawley of Missouri, Lisa Murkowski and Dan Sullivan of Alaska, Rob Portman of Ohio and Todd Young of Indiana.