Rep. Tammy Baldwin (D) won the open Wisconsin Senate race Tuesday, becoming the first openly gay person elected to the upper chamber.

Baldwin led former governor Tommy Thompson (R) 51 percent to 47 percent with 84 percent of precincts reporting, according to the Associated Press. The Washington Post has called the race for her.

Baldwin has represented her Madison district since 1999 and has amassed one of the most liberal records in the House. She was pitted against Thompson, a once-popular four-term governor with more moderate appeal.

Thompson led the race early, but Baldwin soon closed the gap. Toward the end of the campaign, Thompson attacked Baldwin for voting against a bill commemorating the Sept. 11, 2001, terrorist attacks. Baldwin said she voted against the bill because it also praised Republican legislation including the Patriot Act.

President Obama's strength at the top of the ticket appeared to carry Baldwin to victory Tuesday.

Baldwin will succeed retiring Sen. Herb Kohl (D).