A police spokeswoman in the city of Rondonopolis said by telephone on Friday that an officer was pulling out of his garage to go to work when his friend rode up on a motorcycle and announced a holdup.
The officer in the car drew his gun and fired several shots into the stomach of the friend, whose face was helmet. When he realized who the man was, he rushed him to a hospital, where he died.
The police spokeswoman spoke on condition of anonymity because she was not authorized to discuss the case. The incident took place late Thursday.