STANFORD, Calif. (AP) _ Striking nurses at Stanford University Medical Center and the Lucile Salter Packard Children's Hospital have approved a two-year contract, ending a 7-week-old strike.

The contract, which gives the nurses a 10- to 12-percent pay increase over the next two years, passed Thursday by a vote of 825-551. The contract needed 810 votes to pass.

Some 1,730 nurses walked off the job June 7 demanding a 17.5 percent pay increase. The hospital only wanted to give 8 percent. More than 800 replacement workers were used.

Many nurses thought the offer, designed by a federal mediator, was the best chance they had of going back to work soon, union spokeswoman Kim Griffin said.