State Police say Jerame Sines of Friendsville was killed while at a residence in Preston County on Saturday.
Justin Fontaine has been arrested and charged with first degree murder in the shooting.
He's being held at the Tygart Valley Regional Jail.
Police have not released what led up to the shooting.
The investigation is ongoing.