Alex Shapiro is an Assistant District Attorney.
He was killed by The Punisher who turned himself in after the murder.
It appears Shapiro was actually taking bribes in order to throw cases, and putting criminals back on the streets. Castle found him and tortured him. Shapiro made a recorded confession of his crimes.
He received five bullets in the body.