HARRISONBURG, Va. — Joe Chealey hit a jumper and Grant Riller added a free throw in the final seconds to give College of Charleston a 53-51 victory over James Madison on Thursday night.

Chealey nailed a jump shot to give Charleston (14-4, 5-0 CAA) a 52-51 lead with 24 seconds remaining. James Madison’s Joey McLean missed a jumper. Riller, who totaled 19 points, grabbed the rebound and was fouled. He split a pair of free throws to secure the win.

The Dukes, who had their biggest lead at 34-24 with 16:50 left, were up 50-46 with 3:23 remaining. Charleston’s Nick Harris made a jumper and Chealey followed with a layup to tie with 2:32 left.

Both teams hit seven from distance and made 18 field goal attempts. The Cougars won it at the free throw line, making 10 of 15, while the Dukes made 8 of 13.

Jackson Kent led James Madison (5-13, 3-2) with 14 points.