The correct answer is: The wolves increased the population by eating a competitor.
The re-introduction of wolves to Yellowstone National Park in 1995 led to a decrease in the population of herbivores like elk. Fewer elk allowed for the regeneration of willow and other riparian vegetation along riverbanks. This, in turn, provided better habitats for beavers, as they rely on these plants for food and building materials. The rebounding willow and more abundant water sources created conditions that benefited the beaver population. Thus, the presence of wolves indirectly contributed to an increase in beaver populations by controlling the herbivore populations that competed for the same resources.