A man was beaten to death while walking his dog in New Jersey, prosecutors said.

Viktor Yashchyshyk, 51, was walking his dog and talking to his girlfriend in Old Bridge about a block from his home when he was knocked unconscious, police said. His skull was fractured, jaw broken and he was missing teeth, Middlesex County prosecutors said.

Another dog walker found his body and called 911, prosecutors said. He was taken to Robert Wood Johnson University Hospital in New Brunswick and died two days later.

Earl Allayne Jr, 20, of the Parlin section of Sayreville, was taken into custody Saturday, prosecutors said. He has been charged with felony murder and robbery.