Nathan Ray Seebeck-USA TODAY Sports

Lionel Messi scored one goal and helped set up another in his return from injury as Inter Miami tied 2-2 with the visiting Colorado Rapids on Saturday in Fort Lauderdale, Fla.

Leonardo Afonso netted the go-ahead goal for Miami (3-2-3, 12 points) and it looked like a come-from-behind win was in the offing, but the Rapids drew level on Cole Bassett's strike in the 88th minute.

Messi came off the bench and played the entire second half for his first MLS action since March 2. He hadn't played since straining a hamstring March 13 in a CONCACAF Champions Cup match. Messi now has four goals in four regular-season appearances in 2024.

Rafael Navarro scored a penalty-kick goal to give Colorado (2-2-3, 9 points) the lead in the 45th minute.

Colorado keeper Zack Steffen did all he could against the Miami attack, making five saves. Drake Callendar saved two shots for Miami.

Inter Miami started buzzing once Messi entered the game. Franco Negri sent him a pass at the top of the box in the 57th minute, and Messi one-timed it with his left foot. It glanced off a Rapids defender's leg and went in off the inside of the left post.

Just three minutes later, Messi passed up ahead to David Ruiz, who crossed it to Afonso for a right-footed strike to make it 2-1. Afonso, a second-round draft pick last winter, was making his first career start.

Miami controlled the possession for most of the rest of the half. Messi had a free kick sail just over the crossbar in the 74th minute and had another shot parried away in the 78th.

But in the waning minutes of regulation time, Rapids substitute Calvin Harris got a counterattack going and Bassett beat Sergio Busquets to the ball on the centering pass. Bassett scored in the bottom-right corner.

A young girl ran onto the field in the first minute of second-half stoppage time to take a selfie with Messi before being escorted away by security.

Colorado earned a free kick in the sixth minute of stoppage time, but Djordje Mihailovic's attempt landed straight in Callendar's arms.

More must-reads:

TODAY'S BEST
Dodgers starter undergoes season-ending UCL surgery
Knicks star ruled out for potential closeout game
Veteran NFL safety will either play for this team or retire in 2024
Former Red Wings head coach linked to open NHL job
How Patriots' Drake Maye has already impressed Jacoby Brissett
LeBron James, Giannis Antetokounmpo, Stephen Curry among Forbes' highest-paid athletes for 2024
Steve Cohen addresses if Mets could again be trade-deadline sellers
Tiger Woods ruins strong first round with sloppy finish at PGA Championship
Xander Schauffele makes history in first round of PGA Championship
NFL responds to speculation about Chiefs schedule and Taylor Swift
Despite hopes for change, NASCAR championship weekend will return to Phoenix in 2025
Chiefs will achieve something not done since 1927 with 2024 schedule
Caitlin Clark's debut was most-watched WNBA game in more than 20 years
Yankees' Aaron Judge comments on resurgence after bad slump
Odell Beckham Jr. reveals why he was 'hesitant' to join Dolphins
Lakers reportedly interested in adding three-time All-Star via trade
Luka Doncic fed off negative reactions in Game 5 win over Thunder
Celtics finally put away undermanned Cavaliers, advance to conference finals
Avalanche force Game 6 with big third period vs. Stars
MLB announces punishment for Astros' Ronel Blanco over foreign substance