ST. PAUL, Minn. (AP) — A central Minnesota farm where deer were found infected with a fatal brain disease has closed and the U.S. Department of Agriculture compensated the owner for euthanizing his entire herd.

The Minnesota Board of Animal Health announced Wednesday that captive deer were killed on a Crow Wing County farm to try to prevent chronic wasting disease from spreading to wild deer in the region, the Star Tribune reported. The board didn’t disclose how much Trophy Woods Ranch in Merrifield was paid or how many deer were euthanized.

READ MORE: MPD: Speeding Motorist In Stolen Minivan Fatally Strikes Man Standing Outside, Flees The Scene

All carcasses from the pay-to-hunt shooting farm will be tested for the disease, according to the board.

Chronic wasting disease hadn’t been detected in wild deer in central or northern Minnesota until February, when state officials announced that an emaciated deer found nearby the Merrifield farm had tested positive for the fatal illness.

The Minnesota Department of Natural Resources was first informed that the farm could be harboring the disease in 2016. Since then, state officials tested more than 8,600 deer harvested by hunters in a zone around the farm.

READ MORE: Minnesota Weather: Scent Of Smoke Fills The Air As Wildfire Haze Reduces Air Quality

At least seven captive deer at the farm have been confirmed as infected with the disease since 2016.

The USDA, which negotiated and funded the deal, will work with the state animal health regulatory board to implement a management plan at the shuttered farm since the prions that cause the disease remain in the soil.

The disease, which is transmissible through deer-to-deer contact, has been found concentrated in other parts of the state, such as southeastern Minnesota. The department permitted special deer hunts in December to limit the spread of chronic wasting disease in the area.

MORE NEWS: Why Are Federal Tax Refunds Delayed? And What Can You Do About It?

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