ESPN said it would lay off nearly 300 employees at the company, or nearly 4% of its workforce, as the sports-media company looks to control costs in a challenging pay-TV landscape and reorganize for digital growth.

The layoffs will affect departments across the company, including distribution, advertising, technology, administration, content and others, a person close to ESPN said.