Washington State Senator Ed Murray and Seattle Mayor Mike McGinn on Tuesday emerged as the two leading vote-getters in Seattle's mayoral primary race.

With an estimated 75 percent of the vote counted, Murray leads with 30 percent of the vote to McGinn's 28 percent. Murray and McGinn will advance to the November general election.

According to KING 5, Murray also leads McGinn in contributions, $590,000 to $354,000.

Last year, Murray, who is openly gay, authored the state's gay marriage law.

In an ad released last month, Murray touted the role he played in getting the measure approved and is seen with his partner walking their dog down a quiet street.

(Related: Ed Murray touts efforts to win gay marriage in mayoral ad.)

If elected, Murray would become the first openly gay person to lead Seattle and would join the ranks of other openly gay big city mayors such as Houston Mayor Annise Parker. In New York City, City Council Speaker Christine Quinn hopes to make history as the city's first openly gay mayor.