Stanford completed the Pac-12 Conference men's swimming and diving championships on a strong note and finished nine points behind champion USC.
The Trojans clinched the meet on the final event, edging the Cardinal by three seconds in the 400 freestyle relay.
Stanford lost dual meets to both USC and California during the regular season, but was good enough in Federal Way, Wash. over the week to carry the lead into Saturday.
Danny Thomson got things going with a victory in the 1,650-yard freestyle, but the Trojans scored 287 points in the final session for its first title since 1979. It was the first Pac-12 meet in 36 years won by a school other than Stanford or Cal.
USC totaled 818.5 points and the Cardinal finished second for the third straight season with 809.5 points. The Golden Bears placed third with 673. Arizona finished fourth with 508 points, Arizona State (309) moved up to fifth and Utah (283) finished sixth.
USC's eight-point win over Stanford was the closest in the Pac-12 showdown since the Cardinal beat Cal by the same margin in 1999.
David Nolan (1:40.02) took silver in the 200-yard backstroke behind defending champion Ryan Murphy of Cal. Patrick Conaton (1:41.36) took fourth and Drew Cosgarea (1:42.32) was one spot behind.
Sam Perry, Stanford's only performer in the 100-yard freestyle finals, touched eighth in 43.35 after going 42.79 in the prelims.
Curtis Ogren had a 1:56.53 in the 200-yard breaststroke finals for ninth. Gray Umbach (1:43.75) took fourth and Sacred Heart Prep grad Tom Kremer (1:44.10) had a sixth-place finish in the 200-yard butterfly.
The NCAA Zone E Diving Championships take place beginning Monday in Colorado Springs, Colorado. Stanford's swimmers will be competing in the NCAA Championships (March 26-28) in Iowa City, Iowa.