Updated

COLUMBIA, S.C. (AP) Pharoh Cooper caught seven passes for 160 yards including South Carolina's only touchdown as the Gamecocks won interim coach Shawn Elliott's first game 19-10 over Vanderbilt on Saturday.

Former walk-on Perry Orth was 17-for-28 for 252 yards and Brandon Wilds ran 24 times for 119 yards as South Carolina (3-4, 1-4 SEC) won just its second conference game since September 2014.

The Commodores (2-4, 0-3) turned it over five times as they lost their 11th straight SEC game.

Skai Moore had an interception, a sack, recovered a fumble and led the Gamecocks with 11 tackles.

Vanderbilt led 10-6 and appeared to be in control when Orth hit Cooper on a 78-yard touchdown pass. South Carolina turned it over on its next two possessions, but mistakes kept the Commodores from getting back on track.

Elliott took over as coach Tuesday after Steve Spurrier resigned during his 11th season on the sidelines.