Raytheon Co. said it will invest $1.57 billion in net cash to take ownership of a new cybersecurity company it’s creating with private-equity firm Vista Equity Partners.

As part of the transaction, Raytheon agreed to acquire Websense Inc. from Vista for $1.9 billion, the company said in a statement Monday. Raytheon will contribute $1.57 billion in cash to the new company, of which $600 million will be a loan.

The transaction will result in an enterprise value of $2.3 billion for the new company, in whichRaytheon will hold an 80 percent stake and Vista will keep about 20 percent, for a $335 million investment. It’s also contributing its Raytheon Cyber Products unit, valued at $400 million.

“The market for advanced cyber solutions that protect and defend global industry and infrastructure is rapidly growing due to the sophisticated threats posed by well-funded, nation-state adversaries and criminal networks,” said Thomas Kennedy, Raytheon chief executive officer.

Kirkland & Ellis LLP advised Vista.