Verizon is buying Frontier Communications in a $20 billion deal to strengthen its fiber network.

Verizon Communications Inc. said Thursday that the acquisition will also shore up its foray into artificial intelligence as well as connected smart devices.

Frontier has concentrated heavily on its fiber network capabilities over about four years, investing $4.1 billion upgrading and expanding its fiber network. It now gets more than half of its revenue from fiber products.