In one of the closest races for Connecticut attorney general in recent memory, Democrat William Tong edged out Republican Sue Hatfield to become the state’s first-ever Asian-American attorney general. With 94 percent of votes counted, Tong was leading Hatfield 681,301 to 624,465 Wednesday morning. Green Party candidate Peter Goselin rounded out the three-way field with 14,521 votes.

The race between the candidates for attorney general, specifically Tong and Hatfield, grew bitter in the final weeks. Both candidates aired negative advertisements against each other, and came out swinging in the Oct. 30 University of Connecticut School of Law debate, the last one in which the three candidates faced off. That debate, in which the candidates also took questions from the Connecticut Law Tribune, touched on issues ranging from opioids to guns and President Donald Trump.