STANFORD, Calif. -- KK Clark scored with 46 seconds in the first of two overtime periods to lead the No. 3 UCLA past No. 1 Stanford 8-7 in the MPSF tournament's championship match at Avery Aquatic Center on Sunday.

UCLA (21-3) secured its second MPSF tournament title in the last three years.

Becca Dorst led the Bruins with three goals in a game that featured seven lead changes. The game was deadlocked, 7-7, at the end of regulation, prompting two three-minute overtime periods.

Stanford's Kaley Dodson and Kiley Neushul each scored two goals for the host Cardinal.

Sunday's victory helped UCLA secure the MPSF's automatic bid to the NCAA Women's Water Polo Championship, to be played at San Diego State from May 11-13.

In addition to three goals from Dorst and two from Clark, UCLA received two goals from Sarah Orozco and one from Hannah Sebenaler.

Stanford (23-2) led UCLA, 3-2, after the first quarter and owned a slim 5-4 advantage at halftime.

The Bruins battled back in the third quarter, as Sebenaler (6:39) and Dorst (1:16) scored consecutive goals to put UCLA ahead, 6-5. The Bruins held Stanford scoreless in the third period and entered the fourth quarter with a 6-5 cushion.

Stanford's Dodson evened the game, 6-6, early in the final quarter of regulation. She added her second goal of the match with 3:53 to play, giving the Cardinal a 7-6 advantage.

Dorst added the equalizer with 2:42 to play in regulation, knotting the championship match at 7-7.

UCLA's Caitlin Dement and Stanford's Kate Baldoni each recorded 12 saves in goal.