If Colorado Springs middle-distance runner Boris Berian competes in the next two weeks, he’s not allowed to wear the logos of any company but Nike, a federal court judge ordered Wednesday.

The ruling in U.S. District Court in Portland, Ore., is the latest salvo in the global athletic wear giant’s high-stakes battle to keep the reigning world indoor 800-meter champion under endorsement contract — and not lose his marketing value to competitor New Balance.

Judge Marco A. Hernandez approved Nike’s request for a 14-day temporary restraining order that keeps Berian from endorsing a competitor’s products or wearing them while competing or training. He can wear the gear of Big Bear Track Club, his training group, as long as it doesn’t include a logo of a competitor. The club, based in Big Bear, Calif., is sponsored by New Balance.

The next hearing in the case is scheduled for June 21, nine days before the start of the U.S. Olympic Trials.

Nike did not return a request for comment.

Berian, a 23-year-old Widefield High School graduate who two summers ago was working at McDonald’s in Colorado Springs and sleeping on a friend’s couch to make ends meet, is favored to win the 800 at the trials and could medal at the Rio Olympics in August.

It’s a remarkable turnaround that has attracted lucrative endorsement offers from high-profile companies.

Berian would like to sign with New Balance. But Nike says in court filings that the terms of its short-term contract with the athlete that expired on Dec. 31 require him to keep competing for Nike.

On Jan. 19, Berian’s agent, Merhawi Keflezighi, alerted Nike that New Balance had offered Berian a contract. Nike has until June 28 to match.

Keflezighi sent the New Balance term sheet to Nike officials, who said they would match the three-year offer of $125,000 in annual base compensation, plus bonuses for achievements like setting world and U.S. records and winning Olympic medals.

Nike contends that it met New Balance’s offer, thus keeping Berian under contract. The company even went so far as to sub out the name Nike for each New Balance reference in the document to match the term sheet word for word.

But when Nike sent the long-form deal, it contained so-called “reduction clauses” that cut the base compensation if Berian doesn’t meet certain performance standards. Berian’s camp argues that Nike did not match the offer, because New Balance didn’t include reduction clauses.

Nike says the clauses are so common in track and field contracts that there’s no way New Balance would omit them. Nike has twice tried to wire money to Berian to begin the new deal, and twice he’s returned it, court documents show.

New Balance Athletics’ running sports marketing manager John Evans said in a document filed in court Tuesday that reduction clauses aren’t standard and that endorsement deals are negotiated individually. His company’s term sheet didn’t mention a reduction clause, the document says, “because New Balance had no intention of including one.”

On Wednesday, Nike competitors — and former sponsored athletes — jumped into the fray, filing court documents supporting Berian. Oiselle CEO Sally Bergesen and Jesse Williams, senior global sports marketing manager for Brooks Sports, reiterated that reductions clauses “are not uncommon in the industry, but nor are they standard.”

“One of the main reasons I left Nike for Brooks was that Nike demanded reductions and Brooks did not,” professional middle-distance runner Nick Symmonds said in a court filing. He had been with Nike for seven years.

Keflezighi told The Denver Post on Wednesday that Nike’s contract contains two pages of reductions, including demands that Berian participate in a minimum number of races and reach a certain world ranking in his event. He said the Nike contract would soon be made public in court filings.

While details of pro contracts in major sports are almost always publicized, it’s virtually unheard of in track and field, Keflezighi said.

Nike has missed out on signing key endorsement deals with rising stars before. Three years ago, it let NBA point guard Stephen Curry walk away to sign a long-term contract with Under Armour, despite having the first right to keep him.

Curry now is a global superstar, a two-time league MVP and leader of the defending NBA champion Golden State Warriors, whose value to Under Armour was estimated by an analyst to be $14 billion.

Nike won’t make the same mistake twice.

Berian exploded on the track scene on June 13, when he ran 1 minutes, 43.84 seconds in New York City to finish second behind 800 world-record holder David Rudisha. The next month, he ran the fifth-fastest 800 time ever by an American, in a Diamond League race in Monaco.

Already this season, Berian has competed in meets wearing New Balance shoes and apparel, most recently during the Memorial Day weekend in Eugene, Ore., the birthplace of Nike. He also has posted photos of the company’s gear on his social media accounts, actions that Nike says indicate he is being compensated by New Balance. Berian’s attorneys deny he is.

“For Boris to perform the way he did under the circumstances and stress and everything that was bubbling, I give him a lot of credit,” Keflezighi said.

Berian — The Post’s 2011 track and field athlete of the year — won two NCAA Division II 800-meter titles at Adams State before dropping out in 2014. He kept training on his own before being given the chance to work with coach Carlos Handler and the Big Bear Track Club.

After the ruling Wednesday, Berian removed the photo of New Balance racing shoes he’d been using as his Twitter profile picture. He replaced it with a shot of himself wearing a Nike-issued Team USA uniform — with the ubiquitous swoosh on the chest apparently removed.

Keflezighi confirmed that the contract drama led Berian to withdraw from two races before the Olympic trials, which will take place in Eugene. While the court can’t keep him from racing, it can determine the apparel and shoes he wears on and off the track.

Nike’s roots in track and field run deep. In 2014, the company signed a staggering 23-year extension of its exclusive sponsorship with USA Track and Field, the governing body for the sport.

That means regardless of the outcome of Berian’s case, if he makes the U.S. Olympic team, he will be required to wear Nike apparel while participating in Team USA functions, including training and racing.

At that point, the only question would be whether he wears shoes made by Nike or New Balance.

//assets.documentcloud.org/embed/loader.js

dc.embed.load(‘https://www.documentcloud.org/search/embed/’, {

q: “projectid: 27382-nike-vs-boris-berian “,

container: “#DC-search-projectid-27382-nike-vs-boris-berian”,

title: “Nike vs. Boris Berian”,

order: “title”,

per_page: 18,

search_bar: true,

organization: 350

});

View/search document collection