Four officers from Greater Manchester Police have been sacked for exchanging racist text messages.
All four admitted at a disciplinary hearing sending, receiving or showing a racist text message to colleagues.
The force said they were made aware of the incident after a police inspector, who was shown the message, reported it.
The men, aged 31, 38 and two aged 41, who were based in Salford and south Manchester, were dismissed at the hearing last Monday, a statement said.
The incident happened on 16 September last year, and the hearing took place last week following a 10-month internal investigation.
The Police Federation's Greater Manchester branch said at least two of the officers were off-duty when the text was sent.
Police Federation secretary Gordon Johnson said: "The federation does not condone racism, sexism or homophobia of any kind.
"The case is finished but they can still appeal. For them to comment in the process would jeopardise that.
"The four officers have co-operated fully throughout the inquiry and fully admitted the allegations."
The officers now have two weeks to request a review of the case with the Chief Constable Michael Todd.
If he upholds the tribunal's decision, they can take the case to an independent police appeals tribunal.