Change to clearer wording: The majority of these black American immigrants were among 3000 Blacks who had been in enslaved in North America, who had sought freedom and refuge with the British during the American Revolutionary War, leaving rebel masters.
The majority of these black American immigrants were among 3000 African-Americans, mostly former slaves, who had sought freedom and refuge with the British during the American Revolutionary War, leaving rebel masters.