Donald Trump secured a victory in the battleground state of North Carolina, successfully fending off a challenge from Kamala Harris who hoped for 270 votes.