Suffolk County legislators signed off on a $1.5 million settlement for a man who was shot by mistake by a police officer searching for robbery suspects.

In a 17-0 vote, the lawmakers approved the settlement of Henry Morales’ Eastern District case on Tuesday.