Seventeen officers from Lothian and the Borders Police are being moved to other departments while misconduct inquiries continue.
The officers are being investigated after emails of a racist and sexual nature were allegedly found on an internal computer system.
Four civilian staff will also be moved to other departments, and a 51-year-old has already been suspended.
More top news
Peter MacMahon takes a look at Labour's use of the Barnett Formula as a stick to hit the SNP.
As the Second World War loomed, Silloth Airfield brought thousands of people to the quiet community. Their stories are now being recorded.
The deadline to register to vote is Monday 20 April. Registering takes less than three minutes - here is our how-to guide.