While some of the most contested races were decided Tuesday, the Senate race was too close to call and there will be a runoff in the race to be Phoenix's next mayor.

Gov. Doug Ducey was re-elected for a second term, defeating Democratic challenger David Garcia. Arizona's new secretary of state is Republican Steve Gaynor. And Attorney General Mark Brnovich clinched his win against Democrat January Contreras.

National eyes will stay on Arizona through Wednesday as the Senate race is entirely too close to call. By 11:20 p.m., Republican Congresswoman Martha McSally was leading with 49.85 percent of the votes. Democrat Kyrsten Sinema trails by less than a point at 48.98 percent.

The numbers remained about the same Wednesday morning, and a winner may not be known for days

Kate Gallego collected 44 percent of the votes for Phoenix mayor but needed 50 percent to avoid a runoff.

All the propositions have been decided. Arizonans closely watched Proposition 127, which would force utility companies to use 50 percent of renewable energy by 2030. The measure was rejected.

RELATED: AZ Election: Props 125, 126, 127, 305, 306 results updates

Polling locations were open 6 a.m. to 7 p.m. Voters were still in line after 7 p.m. at some polling locations, most notably at Arizona State University's Tempe campus.

Maricopa County Recorder Adrian Fontes said it was a "typical election day with typical, run-of-the-mill problems," despite one building foreclosure, a key problem and a few technological issues at Valley polling locations Tuesday morning.

By 6 p.m., Fontes said 242,175 in-person ballots were cast in Maricopa County.

“This election is looking more like a presidential election in the number of ballots we have coming in," Fontes said at one point on Tuesday.

ALL RESULTS: 12news.com/elections

11:47 p.m.

Katie Hobbs, the Democratic candidate for secretary of state says that the AP has called the race between her and Republican Steve Gaynor wrong. 

Her camp says they are "cautiously optimistic" Hobbs willl be secretary of state once all the votes are counted. 

AP called the race in Gaynor's favor around 10:20 p.m.

11:25 p.m.

The Associated Press has declared Debbie Lesko the winner in Congressional District 8. She will retain a seat she held after a special election earlier this year.

11:05 p.m.

McSally is leading the Senate race with 10,000 votes with 33 percent of precincts reporting.

10:35 p.m.

Now, 29 precincts are reporting. There are about 920,000 ballots that haven't been counted, according to an analyst from the secretary of state's office.

10:25 p.m.

It appears the Phoenix mayoral race will be decided by a runoff election early next year.

Unofficial results Tuesday night showed Kate Gallego and Daniel Valenzuela as the top vote-getters, but neither had at least 50 percent plus one vote to win.

Gallego was at 45 percent and Valenzuela at 26 percent.

10:22 p.m.

The Associated Press has called the race for secretary of state. Republican and political newcomer Steve Gaynor has defeated Democrat Katie Hobbs.

10:09 p.m.

McSally has a 0.5 percent lead (about 4,500 votes) with 23 percent of precincts reporting.

10:01 p.m.

Proposition 125 has passed. It will change the state constitution to allow the Arizona State Legislature to adjust pension plans for corrections officers and elected officials.

Republican Joe Hart has been elected state mine inspector.  

9:54 p.m.

Republican Kimberly Yee clinches the elections for state treasurer.

Incumbent Mark Brnovich defeats Democratic challenger January Contreras. 

9:42 p.m.

Arizona voters have passed Proposition 306. It will prohibit candidates from using their public financing accounts to give money to political parties or tax-exempt 501(a) organizations that influence elections. 

It also requires the bipartisan Citizens Clean Election Commission's proposals to be approved by the Governor's Regulatory Review Council, appointed by the governor.

9:34 p.m. 

Now, 15 percent of precincts are reporting. There are a lot of votes waiting to be counted.

9:27 p.m.

Arizona voters have rejected Proposition 305, that would have allowed an expansion of the school voucher program, giving money to parents to use on private school tuition.

9:19 p.m.

Numbers show 1.3 million ballots have been counted in Arizona, according to the secretary of state's office.

9:14 p.m.

"Arizonans have voted and they have spoken," says Gov. Doug Ducey as he takes the podium to deliver his victory speech.

Ducey called out Cindy McCain, widow to late Sen. John McCain, as a friend and key supporter of his campaign. She endorsed him for governor in the last few weeks.

9:04 p.m.

Now, 11 percent of precincts are reporting in Arizona. 

8:58 p.m. 

Proposition 127, which would force Arizona utility companies to use 50 percent of renewable energy by 2030, has been rejected.

Proposition 126, which bans any new taxes on services, has been passed, AP says.

RELATED: AZ Election: Props 125, 126, 127, 305, 306 results updates

8:54 p.m.

La Paz County is the only county with votes that haven't been published, but still, only seven percent of precincts are reporting in Arizona.

8:53 p.m.

Democrat and former Mayor of Phoenix Greg Stanton elected to represent District 9 in the U.S. House.

8:41 p.m.

Now, seven percent of the precincts are reporting. Sinema currently has 49.2 percent of the votes and McSally has 48.6 percent. 

Other notable races include: 

Secretary of State - Steve Gaynor 51.4 percent, Katie Hobbs 48.6 percent

Superintended of Public Instruction-  Frank Riggs 50.1 percent, Kathy Hoffman 49.9 percent

8:36 p.m.

Arizona Democrats Ruben Gallego (CD7), Raul Grijalva (CD3) have been re-elected to the U.S. House to represent Arizona, AP reports. While, Republicans Paul Gosar (CD4) and Andy Biggs (CD5) have also been re-elected.

8:26 p.m.

Nationally, Democrats will gain control of the House, while Republicans remain in control of the Senate.

8:23 p.m.

Maricopa, Coconino, Pinal, Navajo and Graham counties have been posted.

8:14 p.m.

It appears there will be a runoff election for Phoenix mayor. Kate Gallego has 44.45 percent of the votes, followed by Daniel Valenzuela with 25.74 percent. In order to be called tonight, a candidate will need to have 50 percent of the vote. 

8:10 p.m.

Gov. Doug Ducey has been re-elected, retaining his seat against challenge David Garcia. The race was called with only 1 percent of precinct reporting with Ducey winning 78 percent.

8 p.m.

Results are coming in for Arizona's elections. 

The secretary of state's office has posted initial results. The heated races are neck-and-neck, to no surprise. Martha McSally has 49 percent of the votes to Kyrsten Sinema's 48 percent. 

Nationally, eyes are on who will take control of the House.

7:41 p.m.

Secretary of state's office analyst says the final report of in-person ballots is 250,438. Nearly 38 percent of those votes were cast by registered Republicans, 29 percent by Democrats and 34 percent by other voters. 

7:29 p.m.

To combat the long lines, 13 voting booths were set up outside the ASU polling location. 

ASU polling after 7pm
Pete Scholz

7:23 p.m. 

Fontes says that the long lines at ASU are partly due to students casting provisional ballots.

7:10 p.m.

The highest midterm Arizona turnout percentage was 63.3 percent in 1974, but the highest number of votes cast was 1,750,840 in 2010, according to data from the secretary of state's office.

7 p.m.

Polls are closed in Arizona. If you are in line, stay in line!

A Maricopa County Superior Court judge denied a request to extend polling place hours. Some states including Texas and Georgia extended some polling hours Tuesday night.

6:30 p.m.

Just thirty minutes left until polls close in Arizona. Those who are in line by 7 p.m. will not be turned away and will get to cast a ballot.

Remember at 8 p.m., the first results will start to trickle in. Included in those results will be 691,000 early ballots from Maricopa County, Fontes says.

At ASU, the lines are still going strong and now there is free pizza. 

6 p.m.

We are in the final hour of voting in Arizona.

Fontes says Maricopa County is setting turnout records. According to his numbers, 242,175 ballots have been cast in-person Tuesday. 

Voters are waiting in an estimated three-hour long line to cast a ballot at ASU's Tempe campus. There are no reported technical issues at the polling center, just more people voting than expected.

5:30 p.m.

East Coast polls are closed and the nationwide first results are starting to come in. In Arizona, we still have one and a half hours left until polls are closed and the post-work voter rush is expected to start. 

Local results will first be reported at 8 p.m.

NATIONWIDE RESULTS: First races called in 2018 midterm elections

5 p.m.

An analyst for the secretary of state's office says 198,298 in-person ballots have been cast so far today in Maricopa County.

4:30 p.m.

According to an analyst with the secretary of state's office, 186,000 ballots have been cast at polls today. Almost 40 percent of those voters are registered Republicans, 28 percent are registered Democrat and 33 percent are neither. 

3:50 p.m.

As of 3:30 today, Secretary of State Michelle Reagan has fielded over 1,000 election calls, Election Director Eric Spencer tweeted. He says the average hold time is 1 min 49 seconds with an average talk time of 2 min 50 seconds.

3:30 p.m.

Nearly 159,000 in-person ballots have been cast today in Maricopa County, Brahm Resnik reports. About 28 percent of those voters are registered Democrats, 40 percent are registered Republican and more than 32 percent are registered Independent. 

3 p.m.

The Maricopa County recorder says 691,000 early ballots have been counted so far in this election and those votes will be included in the results that roll out at 8 p.m. Tuesday.

In tech news, ¿Dónde votar?, meaning “where to vote” in Spanish, was the top trending Google search in the U.S. this morning, Google says

READ: ‘Dónde votar’ tops Google search on Election Day

2:30 p.m.

A man was arrested at a Goodyear polling location, according to police.

According to Goodyear PD, 37-year-old Brad Luebke entered the Desert Springs Community Church polling place wearing a holstered BB gun on his hip and filming inside.

Police said polling officials and officers attempted to reason with Luebke and asked him to leave. But Luebke refused to leave.

According to police, Luebke was arrested on three counts of disorderly conduct, misconduct involving weapons and recording within 75 feet of a polling place.

FULL STORY: Man arrested after bringing BB gun, filming inside Goodyear polling location

2 p.m.

Aerial footage shows the long line of young voters on the ASU campus.

1:40 p.m.

Polls were momentarily down at the Aztec Springs location in Mesa. There was an issue logging in, which was fixed in about 15 minutes.

12:40 p.m.

The Arizona Humane Society said its adorable polling pups "had a blast rewarding voters with puppy kisses and cuddles."

12:10 p.m.

As of noon, Fontes said Maricopa County has had 127,291 people cast their vote in person.

11:48 a.m.

A long line of voters was forming at the polling location at Arizona State University.

10:40 a.m.

Fontes held a news conference with an update on the status of Valley polling locations.

He said in the first four hours of polls being open in Maricopa County there were 86,000 Election Day voters, compared to 350,000 for the entire day back in 2016.

“This election is looking more like a presidential election in the number of ballots we have coming in," Fontes said.

Fontes said the early morning issues, including a key problem at a church and a building foreclosure, have either been dealt with or are ready to go.

A technological issue at a Mesa polling location has also been solved, Fontes said.

Fontes said they are working to get to the bottom of printer software issues at a few of their vote centers.

"What we've experienced so far is a typical election day with typical, run-of-the-mill problems," Fontes said.

9:30 a.m.

Gov. Doug Ducey voted this morning in Paradise Valley while David Garcia handed out coffee to voters at Fair Trade Cafe in Phoenix.

9 a.m.

Fontes says the Gila Precinct polling location will remain at the Golf Academy of America at 2031 N Arizona Avenue.

"We now have access to the building and are getting power turned on now," Fontes tweeted.

8:30 a.m.

Poll puppies! The Arizona Humane Society says its out at various polling locations around the Valley giving voters "some well deserved puppy kisses."

8 a.m.

The Maricopa County Recorder's Office says the first results will be posted 12 hours from now at 8 p.m.

ELECTION RESULTS: How to find Arizona election results: Senate, state, local

7:30 a.m.

Poll workers setting up temporary polling location at the Gila Precinct.

7 a.m.

Long lines were reported at the Scottsdale Congregational United Church of Christ.

At least two Valley voters said Chandler City Hall was experiencing problems with the printers that print out the ballots.

Poll workers were seen setting up poll booths outside the Gila Precinct building that was foreclosed on overnight.

poll workers at gila precinct
Poll workers at the Gila Precinct seen setting up voting booths outside the building that was foreclosed on overnight.
Jen Wahl / 12 News

6:30 a.m.

Fontes said five out of the 503 sites in Maricopa County were having problems with one being technology related in Mesa at the San Michelle Precinct.

Fontes also said the doors at St Nikolas Serbian Church in north Phoenix were not open.

6 a.m.

In his first update of the morning, Maricopa County Recorder Adrian Fontes said the Gila Precinct in Chandler was having a big problem, the space they were renting was foreclosed on overnight.

McQueen, Alma School, Knox and Warner are the boundaries for that precinct.

The election gear is inside with the door locked by the building landlord. Fontes said they are working to get the doors open, but may need a judge's order.

gilaprecinctforeclosure
A sign seen on the door at the Gila Precinct in Chandler on Election Day.
Jen Wahl / 12 News

Voters at the precinct can go to any emergency voting center, Fontes said his office is advising voters to use the Chandler City Hall Voter Center at 175 S. Arizona Avenue.