A first-best regulatory tax for oligopoly