File Photo . Georgia Gwinnett College second year general chemistry students Justin Mohlenhoff left, and Lemaire Ventura, center, work during a lab with instructor Xiaoping Lee, right. Using a spectrometer, they are measuring the light absorption properties of dyes used in candy.

Charles Dharapak

House Speaker John Boehner of Ohio, accompanied by House Education and the Workforce Committee Chairman Rep. John Kline, R-Minn., left, and Rep. Jeb Hensarling, R-Texas, speak about a student loans bill, Wednesday, April 25, 2012, on Capitol Hill in Washington. (AP Photo/Charles Dharapak)

WASHINGTON (AP) -- The House Democratic leader accused Republicans Thursday of raiding women's programs to pay for a bill keeping student loan interest rates low in an election-year battle over college aid.

Minority Leader Nancy Pelosi, D-Calif., told reporters she will oppose the GOP-written bill Friday, when it is scheduled for a House vote. The $5.9 billion measure would prevent the 3.4 percent interest rate on subsidized Stafford student loans from doubling as scheduled on July 1. It would be paid for with cuts from President Barack Obama's health care overhaul bill.

Pelosi said Republicans have decided, "'Let's take it out of our old favorite target, women's health,' and that's just wrong."

The House GOP bill would cut a $17 billion prevention and public health fund Obama's law created for immunization campaigns, research, screenings and wellness education. Republicans have dubbed it a "slush fund" and sought to cut it to finance a variety of projects, succeeding earlier this year in helping to pay for maintaining doctors' Medicare reimbursements.

Pelosi's remarks underscored how lawmakers on both sides are using their fight over student loans to bolster their standing with voters while casting the other side negatively. Democrats in recent weeks have accused Republicans of waging a war on women because of their stances on abortion and other social issues.

Leaders of both parties have said they want to prevent the cost of federal loans from rising, but they are fighting over how to pay for it.

Boehner announced there would be a vote in an abruptly called news conference Wednesday that followed days of pounding by Obama and congressional Democrats. It also came two days after the GOP's presumptive presidential candidate, Mitt Romney, tried defusing the issue by embracing the call for freezing interest rates, putting more pressure on congressional Republicans to back the effort or look isolated.

"What Washington shouldn't be doing is exploiting the challenges that young Americans face for political gain," Boehner said. He also accused the president of "campaigning and trying to invent a fight where there isn't and never has been one."

Congressional GOP aides said Republicans were working on the legislation for some time and unveiled their bill to try to prevent Obama from escalating the dispute. The aides spoke on condition of anonymity to discuss party strategy.

Hours before Boehner spoke, Obama wrapped up a two-day trip to three college campuses in which he cast himself as the students' champion and Republicans as the ones standing in the way of resolving the problem.

"How can we want to maintain tax cuts for the wealthiest Americans who don't need them and weren't even asking for them?" Obama said at the University of Iowa, mocking the GOP. "I don't need one. I needed help back when I was your age."

The backdrop to the student loan fight is a push by both parties to appeal to younger voters, an Obama strength in his 2008 election win, and to signal their sensitivity to families' struggles during the economy's prolonged slump. Letting the loan rate double this summer would cost 7.4 million Stafford loan recipients an average $1,000, according to the administration.

At the same time, each side wants to force the other to take politically uncomfortable votes. The Senate Democratic version would force high-earning owners of some privately owned corporations to pay more Social Security and Medicare payroll taxes, violating Republicans' anti-tax doctrine.

It didn't take long Wednesday Democrats to voice opposition to the House GOP legislation.

"We should be able to work together to find offsets that don't penalize middle-class families or undermine efforts to help more Americans stay healthy," said White House spokesman Nick Papas, who expressed confidence that a compromise could be reached.

Rep. George Miller of California, top Democrat on the House Education Committee, accused Republicans of trying to keep student interest rates low by "extracting the price from women and children."

That reference was to his own legislation, which would pay for keeping student loan interest rates level for a year by forcing high-income owners of some privately held corporations to pay more Social Security and Medicare payroll taxes.