EUGENE, Ore. — North Yarmouth native Ben True finished second in the men’s 10,000-meter race Thursday night at the U.S. Track and Field Championships at the University of Oregon to earn a spot in the world championships for the first time.

True finished in 28 minutes, 14.26 seconds to earn a spot in the World Championships in Beijing on Aug. 22-30.

True also will race Sunday in the 5,000.

Galen Rupp earned his seventh straight U.S. championship, finishing in 28:11.61. Rupp won amid allegations that Coach Alberto Salazar encouraged him and others to skirt anti-doping rules. The U.S. Anti-Doping Agency is launching an investigation into the allegations.

A story by ProPublica and BBC earlier this month contained contentions from former Salazar assistant Steve Magness and a former Salazar runner, Kara Goucher, that Salazar skirted rules. Salazar responded on the eve of the nationals with a 12,000-word letter online, saying the Oregon Project he leads “will never permit doping.”

Also Thursday, Brunswick High graduate Will Geoghegan advanced to the finals in the men’s 1,500 by finishing second in his heat. Geoghegan finished in 3:48.19. Andrew Wheating won the heat in 3:47.91.

Matthew Centrowicz had the fastest time in qualifying, running 3:44.39. The top three runners in each of the three heats, then the next three fastest times advance to the finals, which will take place at 5:20 p.m. Saturday.

Cumberland native Becky O’Brien finished ninth and failed to qualify in the shot put with a throw of 58-0.25.

Tyson Gay overcame his nerves, just not his training partner, in advancing through the first round of the 100 meters on a hot and humid Thursday night.

The 32-year-old Gay was second in his heat behind Remontay McClain, one of the new faces to burst on the scene. McClain finished in 9.82 seconds to hold off Gay, who’s still rounding back into shape after returning last summer from a one-year suspension for doping.

“It was weird – maybe weird is not the right word – going against the group of guys I’m running with now,” Gay said. “When I went into the back, I saw all these new faces. It’s just different, man. I’m trying to get used to new faces.

“It’s a different era for me.”

He knows McClain well enough, being his training partner and all. Gay will soon get to know Trayvon Bromell well, too, since the up-and-coming sprinter from Baylor keeps flying down the track. Bromell posted the second-fastest time of the night.

Taking all the action in from the sideline was Justin Gatlin, who’s saving his energy for the 200 since he already has an automatic bye into the world championships in the 100 courtesy of his Diamond League title last season.

Gay wasn’t sure how he would be treated in light of his doping offense. He received a one-year ban that started June 23, 2013, for testing positive for steroid precursor DHEA – a penalty that was reduced after he provided information that led to the U.S. Anti-Doping Agency’s case against his former coach, Jon Drummond. Gay, the American record-holder in the 100, also accepted a loss of results dating to July 15, 2012, which included the 400 relay team being stripped of its silver medal from the London Olympics.

When his name was announced to the crowd at Hayward Field, Gay received some cheers.

“When you’re honest and man up to the mistakes you’ve made, I believe they forgive you,” Gay said. “But I was nervous (for the race). No lie. I was just nervous. You are in your hotel all day, just waiting to get it over with.”

Carmelita Jeter had the top time in the women’s 100, finishing in 10.87 seconds, which was just barely ahead of Jasmine Todd.