This photo released by the Detroit Police Department shows Demetris Nelson

A Detroit man has been charged over an attempted robbery and shooting that left one gay man dead and another wounded after they were contacted through the dating app Grindr.

Demetris Nelson, 26, was arraigned Friday on charges of first-degree murder, felony murder, assault and using a firearm during a felony.

The Wayne County prosecutor's office says 31-year-old Brian Anderson was fatally shot Saturday and 26-year-old Malcolm Drake was critically wounded.

Prosecutors say they were targeted because of their sexual orientations and contacted using the Grindr dating app.

A special prosecutor with the Fair Michigan Justice Project was assigned to the case.

The project helps Michigan law enforcement officers and prosecutors solve serious crimes against gay, bisexual and transgender people.

Nelson was ordered jailed pending a July 26 probable cause conference, Detroit News reports.

'The allegations are that social media contacts were used to target, contact, rob, fatally shoot one gay man, and seriously wound another gay man,' Wayne County Prosecutor Kym Worthy said in a statement.

The Wayne County prosecutor's office says Brian Anderson, 31, was fatally shot Saturday

Prosecutors say Anderson (pictured) was targeted because of his sexual orientations and was contacted via the Grindr dating app

Malcolm Drake (pictured) was critically wounded and remains in hospital fighting for his life

'To some this will be just another hateful and violent act in America. They will read about this case and continue to go about their day. To me, that is quite tragic.'

'We are saddened and outraged by this despicable crime,' Alanna Maguire, president of Fair Michigan, said in a statement.

'This case is just the most recent example of how members of Detroit's LGBTQ community are too often targets of violence.'