Democratic Rep. Kyrsten Sinema has made history by becoming the first woman elected to represent Arizona in the Senate. She defeated Republican Rep. Martha McSally after several days of ballot counting.

With 99 percent of precincts reporting, Sinema led McSally 50 percent to 48 percent when The Associated Press called the race six days after Election Day.

Sinema’s victory also marks the first time in 30 years that a Democrat has won a Senate seat in Arizona.

Sinema said in a victory speech Monday night that she would focus on finding common ground and bridging political divides. She said the campaign was about “everyday Arizonans who are sick and tired of the dysfunction in Washington and who want leaders to put aside party labels and just focus on getting things done.”

Sinema also referenced the late GOP Sen. John McCain in her speech, saying he consistently put country ahead of party, and did the right thing even when it meant standing alone (an apparent veiled reference to his deciding vote last year to doom the Republican effort to repeal the 2010 health care law).