The Colorado Rapids have traded midfielder Dillon Powers to Orlando City in exchange for midfielder Luis Gil and $100,000 in targeted allocation money, the clubs announced Thursday.

Powers, the Rapids’ longest-tenured player, was shipped to the Lions just before the summer transfer window closed Wednesday.

“We are very excited to welcome Luis to the club,” Rapids sporting director and interim general manager Pádraig Smith said in a news release. “We’re pleased to be able to bring in a creative, forward-thinking midfielder like Luis who can integrate quickly and add depth to our attacking group.”

Gil, 23, made his MLS debut with Real Salt Lake in 2011 and played with the Rapids’ Rocky Mountain rivals through 2015 when he made a move to Queretaro of Mexico’s Liga MX. Gil was loaned to Orlando City in April where he reunited with former RSL coach Jason Kreis. Orlando City committed to paying $100,000 in targeted allocation money (TAM) to Real Salt Lake for Gil’s MLS rights in the April loan. As part of the trade, the Rapids will now owe RSL the $100,000 in TAM.

Gil is on a season-long loan from Queretaro. The Rapids said they have the option to buy Gil from the Liga MX side at season’s end. They could also renegotiate the price or decline the option.

Gil has appeared in 17 games (six starts) this season for Orlando City, but has been unable to find the scoresheet. Gil has 11 goals and nine assists in 151 MLS appearances (95 starts). He has two caps with the U.S. men’s national team.

Daniel Brenner, Special to the Denver Post

Dillon Powers (8) of Colorado Rapids reacts to a call in the final minutes of the game against the Sporting Kansas City Saturday, May 27, 2017 at Dick’s Sporting Goods Park in Commerce City. The Rapids won 1-0.

“For the past five years, Dillon has played an important role in the development of our club, both on and off the field,” Smith said in a release. “His service will not be forgotten and on behalf of everyone here at the club, we wish him nothing but the best as he begins this new chapter of his career.”

According to the latest salary figures released by the MLS players union, Powers earns $325,000 this year, while Gil earns $144,000. Orlando City said they will keep Gil’s salary on their books, while the Rapids will keep Powers’ salary on theirs for the remainder of the 2017 season.

The temperature at Dick’s Sporting Goods Park was a frigid 3 degrees at kickoff Tuesday in a game between the Colorado Rapids and Toronto FC. The coldest MLS game on record was 19 degrees last March in Minnesota.