Daniel Borden, one of four men convicted of beating a black man at a white supremacist rally in Charlottesville, Va., in 2017, was sentenced this week to nearly four years in prison.

In May, Mr. Borden entered a plea acknowledging that there was enough evidence to convict him but that did not acknowledge guilt for taking part in the malicious wounding of DeAndre Harris at the “Unite the Right” rally. On Monday, after a monthslong postponement, he received a 20-year sentence, with all but three years and 10 months of it suspended.

Mr. Borden, 20, was one of six men who surrounded and attacked Mr. Harris, 20 at the time, in a parking garage on Aug. 12, 2017, beating him with metal pipes and wooden boards. Mr. Harris was left with a broken wrist and a head wound that required staples. The beating was captured in a video that spread widely on social media.

Two of the six men remain unidentified. Of the four who were arrested, Mr. Borden was the last man to be sentenced.