T-Mobile said Monday that it’s reached deals to buy spectrum licenses from Verizon Wireless for $2.37 billion in cash, allowing it to improve certain kinds of cellular service in markets across the U.S.

The agreements also include the transfer of other kinds of spectrum licenses from T-Mobile to Verizon Wireless that the companies value at about $950 million.