PORTLAND — Jessica Tsao scored the go-ahead goal from the top of the box and Portland went on to defeat James Madison 3-2 Saturday night and advance to the quarterfinals of the NCAA women's soccer tournament.

PORTLAND — Jessica Tsao scored the go-ahead goal from the top of the box and Portland went on to defeat James Madison 3-2 Saturday night and advance to the quarterfinals of the NCAA women's soccer tournament.

It was the 19th straight victory for the second-seeded Pilots (20-1-0), who will play top-seeded Stanford on Friday.

"I saw the far post was open, so I was just trying to get it there," Tsao, a defender, said afterward.

"Gooooaaaal!" forward Megan Rapinoe chimed in.

Danielle Foxhoven and Korie Nicholson also scored for Portland, which won NCAA titles in 2002 and 2005.

Teresa Rynier gave James Madison (14-7-2) the early lead when she beat Portland goalkeeper Kelsey Davis in the sixth minute.

The Pilots looked as if they would tie it with Charney Burk controlling the ball in front of James Madison goalkeeper Diane Wszalek, but her shot sailed over the net. Foxhoven got it done when she headed it in off a free kick in the 35th minute, putting the sold-out crowd at the Clive Charles Soccer Complex on its feet.

It was Foxhoven's team-leading 16th goal of the season. It was also the first goal Wszalek had allowed in the tournament.

Wszalek made six saves. Davis made one.

The Pilots went up 2-1 on Tsao's shot from 18 yards out in the 43rd minute, and Nicholson added her goal in the 55th minute as temperatures in Portland dipped into the 30s.