A Virginia man charged with plotting to shoot up or bomb synagogues and black churches has pleaded guilty to conspiracy and firearms charges.

Thirty-four-year-old Robert C. Doyle entered the pleas Friday in federal court in Richmond, NBC12 reports (http://bit.ly/1KvqG6d).

Prosecutors say Doyle and a conspirator are white supremacists who bought guns and explosives from undercover agents. Authorities say they planned to rob a Richmond-area silver and coin dealer and use the money to finance a race war.

Sentencing is set for May 2.