NASHVILLE, Tenn. — Jordan Scarlett ran 48 yards for the go-ahead touchdown on the first play of the fourth quarter, and No. 14 Florida rallied from an 18-point deficit to beat Vanderbilt 37-27 Saturday in a game marred by a near brawl , with both head coaches yelling as each team spilled onto the field.

Southeastern Conference Commissioner Greg Sankey was on hand for a firsthand view of the incident.

An official held back Florida coach Dan Mullen as he yelled at Vanderbilt coach Derek Mason, who was near the Gators' sideline after checking on the Commodores defender whose helmet was knocked off by a hit by linebacker James Houston IV. Both teams spilled onto the field, drawing unsportsmanlike conduct penalties.

"We're not going to get into that publicly at all," Mullen said. "Derek's a really close friend of mine, and I think we both, our sideline, we got to make sure our sideline ... we're cleaner in that situation, and I'm sure he probably thinks the same thing. But there's nothing carrying over from my end."

The penalty cost the Gators their leading tackler. Vosean Joseph was ejected for his second unsportsmanlike conduct penalty of the first half. Two people escorted an emotional Joseph off the field.

Mullen and Mason hugged each other at midfield after the game. Mason said they talked. The Vanderbilt coach heard a Florida player say something to him and said he responded, then Mullen got mad.

"That's how it started," Mason said. "Obviously at the end of the day, we're just trying to play the game the right way, keep the game safe, and make sure when everybody walks out of there, it's the referee's job to referee the game and not ours. I've got a lot of respect for Dan. He respects the process otherwise, so we keep it moving."

That overshadowed the Gators (6-1, 4-1 Southeastern Conference) matching the largest comeback in a road game in school history, snapping a 26-game skid when trailing by 18 or more points. The Gators scored 24 straight points after Vanderbilt jumped out to a 21-3 lead midway through the second quarter, their first comeback win since Sept. 27, 2003, at Kentucky.

"It's just us locking in and focusing," Scarlett said. "We had a lot of mistakes early on in the game. Mistakes happen in football. It's how you fight through adversity and how you respond, and I think we responded really well."

With the comeback, Florida won its fifth straight this season. The Gators also beat Vanderbilt (3-4, 0-3) for the fifth straight year and 27th time in 28 games in this series.

Vanderbilt turned three turnovers into 17 points, and the Commodores also sacked Feleipe Franks twice and stripped him of the ball once. They also intercepted Franks once. Kyle Shurmur threw two touchdowns with his father, New York Giants coach Pat Shurmur, in the stands. Jamauri Wakefield also ran for a TD.

When Florida could hold onto the ball, the Gators simply dominated and outgained Vanderbilt 576-336 in total offense.

Scarlett finished with 113 yards rushing, and Lamical Perine added a TD run and 121 yards rushing. Franks threw for 284 yards and two touchdowns. His second, an 11-yarder to Freddie Swain, padded the lead midway through the fourth quarter to seal the comeback.

TAKEAWAYS

Florida: The Gators struggled yet again with too many penalties. The costliest came when they left the sideline while Vanderbilt trainers tended to lineman Dare Odeyingbo and coaches started yelling at each other. That unsportsmanlike conduct penalty wound up being the second for Joseph. The linebacker had been flagged for unsportsmanlike conduct on Vanderbilt's third TD drive for slamming a running back to the ground after the whistle.

Vanderbilt: The Commodores start 0-3 in league play for a sixth straight season. It didn't help that they lost running back Ke'Shawn Vaughn early in the second quarter to an unspecified injury. Vaughn finished with one catch for 75 yards and a TD , and he ran seven times for 56 yards before being hurt.

POLL IMPLICATIONS

The Gators played sloppily enough with penalties and turnovers that holding their ranking will be good after their escape in Nashville.

UP NEXT

Florida: The Gators have an open date before their annual game with No. 2 Georgia on Oct. 27.

Vanderbilt: The Commodores visit No. 18 Kentucky.