The U.S. Department of Agriculture (USDA) announced Tuesday that it is banning dogs from outdoor exercise facilities.

In a statement, USDA said that, “Dogs that are in the exercise area are not allowed to be in contact with other dogs or other animals.”

The ban applies to outdoor activities including hiking, dog sledding, hunting, and hunting dog-led groups.

Dog owners will be allowed to bring their dogs in the yard to exercise and play, and to keep the dogs in a pen outside of the yard.

However, outdoor activities like hiking, walking, and playing in the park are now prohibited, while indoor sports like golf, swimming, or horseback riding are allowed.

The USDA said dogs will be given priority for exercise, while other dogs will still be allowed in the backyard.

The ban also covers all outdoor activities for dogs, including but not limited to, hiking, sledding and horseback Riding.

The Animal and Plant Health Inspection Service (APHIS) also announced that it will ban outdoor exercise in most of its facilities, including swimming pools, dog parks, dog kennels, dog zoos, dog shows, and pet stores.

While APHIS said it would not ban any dog activity, the agency said it will restrict outdoor activities on its property to a “reasonable distance” from people and pets.

This means dogs must be within 10 feet (3 meters) of people and within 20 feet (6 meters) from a vehicle.

The APHISA will be conducting a public comment period in support of its decision, and it will publish its final decision in mid-May.

The Associated Press contributed to this report.