(CNN) Both men accused in a fatal robbery at a Denny's restaurant in Virginia have been arrested and charged, police say.

Jordan Anderson of Manassas was arrested Sunday in Fairfax County, Virginia, the Prince William County Police Department said. Ryan Thomas Walker, 22, was apprehended Sunday night by the US Marshals Fugitive Task Force in Maryland, police said.

Ryan Thomas Walker, left, and Jordan Anderson.

Anderson is charged with murder, malicious wounding and two counts of using a firearm in commission of a felony. He is being held without bond and is scheduled to appear in court February 6.

Walker is charged with murder, malicious wounding and robbery, police said.

It could not be immediately determined Sunday whether Anderson or Walker had retained an attorney.

Read More