Though prominent figures such as Andrew Gillum, the Democratic candidate for governor of Florida, who would have been the first black governor of Florida, failed to win their potentially historic elections, many candidates across the country became the first person of their gender, race, ethnicity or sexual orientation to be elected to their positions in their states or, in some cases, in the country. Here they are.

Kyrsten Sinema: The first openly bisexual person in the Senate and Arizona’s first woman in the Senate

Sinema, a Democrat who made history as the first openly bisexual person in the House, will break another barrier in her move to the upper chamber. She was declared the winner of a tight race against Republican Martha McSally nearly a week after the election.

Ayanna Pressley: Massachusetts’s first black woman in Congress

Pressley’s seat in Congress was all but assured after she upset longtime Democratic incumbent Michael E. Capuano in Massachusetts’s 7th District. She won the general election after running unopposed.

Marsha Blackburn: First woman elected to the Senate from Tennessee

Blackburn, a Republican member of Congress who aligned herself closely with Trump and his policies during this race, defeated popular former governor Phil Bredesen (D) in a tight race by 10 points. She will take over the seat held by Sen. Bob Corker, a frequent Trump critic.

Jared Polis: The first openly gay man elected governor

Then-New Jersey Gov. Jim McGreevy came out as gay while he was in office, and Oregon Gov. Kate Brown, who is bisexual, won in 2016, but Jared Polis will be the first man to win a governorship as an out gay man. Polis has been in Congress since 2009.

Jahana Hayes: Connecticut’s first black woman in Congress

Hayes, a teacher, becomes the first black woman to represent Connecticut in Congress. She beat her opponent, Manny Santos, by 11 points.

Deb Haaland and Sharice Davids: America’s first Native American women in Congress

Haaland has a long history in New Mexico state politics and working with native tribes. She was able to defeat her opponent, Janice Arnold Jones, by 22 percentage points. Davids, a lawyer who will also be Kansas’s first openly gay member of Congress, defeated incumbent Republican Kevin Yoder by nine points in a state that was handily won by Trump in 2016.

Veronica Escobar and Sylvia Garcia: Texas’s first Latinas in Congress

Escobar, an El Paso County judge, and Garcia, a state senator and former Harris County commissioner, make history in a state that is nearly 40 percent Hispanic or Latino, according to census data.

Rashida Tlaib and Ilhan Omar: America’s first Muslim women in Congress

Tlaib ran unopposed in the general election, all but guaranteeing the former Michigan state lawmaker a seat in Congress. Omar is already a barrier breaker — in 2016, she became the first Somali American lawmaker in the country. She will now hold that distinction in Congress.

Alexandria Ocasio-Cortez: America’s youngest woman ever elected to Congress

At age 29, Ocasio-Cortez of New York seizes the record from Rep. Elise Stefanik, who was elected at age 30 in 2014. She became a progressive star after her upset primary victory over Rep. Joseph Crowley, a high-ranking House Democrat.

Kristi L. Noem: First female governor of South Dakota

During the campaign, the Republican acknowledged the historic potential of her candidacy, but preferred to focus only on issues. The congresswoman beat her opponent, Billie Sutton, by four points.

Cindy Axn and Abby Finkenauer: Iowa’s first women in the U.S. House

Iowa has sent women to the Senate and the governor’s mansion, but never to the House of Representatives. That changed Tuesday, when two women defeated Republican incumbents.

Janet Mills: First female governor of Maine

Mills, the state’s attorney general, has won the governorship, checking another state off a long list that has never had a female chief executive.