The man convicted of murder in the deadly car attack on counterprotesters at the 2017 white nationalist rally in Charlottesville, Virginia, pleaded guilty to federal hate crime charges Wednesday in order to dodge a possible death penalty.

James Alex Fields Jr., 21, from Maumee, Ohio, pleaded guilty to 29 of 30 charges against him. The 30th charge, which included a possible death sentence, was dropped. He's been ordered to return to court on July 3 to be sentenced.

The single charge in Count 30 was brought under a provision of the Civil Rights Act of 1968. It had accused Fields of racially motivated violent interference with a federally protected activity — counterprotesters using the public streets and sidewalks of Charlottesville — and carried a possible death penalty.

Read more: NBC News