William Cunningham enlisted in South Carolina's 3rd Regiment of Rangers on the Continental line under Captain John Caldwell and Colonel William Thompson in June 1775.
Cunningham's regiment arrived in Ninety-Six on November 19 to support Major Andrew Williamson against a band of Loyalist militia.