Man lay dying after being shot