Talk about a rollercoaster.

Nine days after University of California, Irvine School of Law professor Katie Porter seemingly lost her bid to unseat Orange County Congresswoman Mimi Walters, she was declared the winner of California's 45th Congressional District seat.

The Associated Press called the race for Porter on Thursday evening after the slow provisional and mail–in ballot tally in Orange County placed her with more than 6,000 votes over two-term Republican incumbent Walters. Initial vote counts on Election Day placed Walters ahead slightly.