(CNN) All of the West Virginia correctional cadets seen apparently giving a Nazi salute will be fired, West Virginia Gov. Jim Justice announced.

The image, discovered in early December, shows the members of the West Virginia Division of Corrections and Rehabilitation Basic Training Class 18 with one arm raised. The text above reads "HAIL BYRD!" in a reference to a training instructor for the class, according to the state Department of Military Affairs and Public Safety.

The governor condemned the training group's behavior in a statement on Monday.

"We have a lot of good people in the Department of Military Affairs and Public Safety," Justice said. "But this incident was completely unacceptable. Now, we must continue to move forward and work diligently to make sure nothing like this happens ever again."

Three staff members at the training academy will also be fired. Four other instructors who failed to report the photograph will be suspended without pay, he said.

Read More