The big three Internet companies have agreed to a combined $31.5 million settlement with the U.S. government for accepting ads promoting illegal online gambling, the U.S. Attorney for eastern Missouri said Dec. 19.

Microsoft Corp., Yahoo Inc. and Google Inc. also agreed in the settlement to stop accepting ads for sports wagering and other online gambling, U.S. Attorney Catherine Hanaway said. All three said they halted the practice years ago.