With Maine ballot clerks reporting extremely heavy turnout, voters took to the polls Tuesday to help determine the next president of the United States, their representation in Congress and a number of ballot issues.

With 100 percent of precincts reporting, Democrat Hillary Clinton had 48 percent of the vote and Republican Donald Trump had 45 percent of the vote in Maine, according to unofficial results from the Portland Press Herald.

In southern Maine, Clinton led 54 percent to 40 percent.. In northern Maine, Trump led 51 percent to 41 percent.

Clinton will earn three of the state's Electoral College votes while Trump will earn one. It is the first time Maine has split its electoral votes.

Maine is one of only two states — Nebraska being the other — that can split its four Electoral College votes. Under such circumstances, the winner of the statewide popular vote gets two electoral votes. Then, the winner of each of Maine’s two congressional districts is awarded one electoral vote.

Maine has never split its electoral votes since the system was established in 1972. All other states have a “winner take all” system for awarding electoral votes.

The contentious presidential race between Clinton and Trump wasn't the only thing that drove Mainers to the polls. Voters also had to weigh in on Maine's two congressional seats and every state legislative race.

In the 1st Congressional District, which includes Portland and most of southern Maine, U.S. Rep Chiellie Pingree handily defeated Republican challenger Mark Holbrook.

In the 2nd Congressional District, which includes Bangor and Lewiston, incumbent Republican Bruce Poliquin won re-election over Democrat Emily Cain 55 percent to 45 percent, according to unofficial results.

In addition, Mainers had to decide issues including whether to legalize marijuana for recreational use and impose added background checks for private gun sales.

Here's how Mainers voted on the six ballot questions (100% reporting)

Question 1: Marijuana Legalization

YES: 50% NO: 50%

Question 2: Public Education Funding

YES: 50% NO: 50%

Question 3: Expand Gun Background Checks

YES: 48% NO: 52% 

Question 4: Increase Minimum Wage

YES: 56% NO: 44%

Question 5: Ranked-Choice Voting

YES: 52% NO: 48%

Question 6: Transportation Bonds

YES: 61% NO: 39%