RICHMOND, Va. (AP) — Drug-sniffing police dogs from around Virginia are being forced into early retirement as the state prepares to legalize adult recreational use of marijuana on July 1.

Virginia is following a trend in other states where legalization has led to K-9s being put out to pasture earlier than planned. Police dogs trained to detect the odor of marijuana will no longer be used to establish probable cause for a search.

READ MORE: Maryland Weather: Hot & Sticky, Plus Alert Day Saturday

Virginia state police are retiring 13 K-9s, while smaller police departments and sheriff’s offices are retiring one or two dogs.

READ MORE: Baltimore Ravens LB Jaylon Ferguson Died Of Toxic Drug Cocktail, Autopsy Finds

Most are in the process of purchasing and training new dogs to detect only illicit drugs, including cocaine, heroin and methamphetamines.

MORE NEWS: How To Avoid Getting Stuck In Traffic Over Baltimore's Fourth Of July Weekend

(© Copyright 2021 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)