Monsanto Co. agreed to pay the University of California more than $100 million to settle the school’s claim that the biotechnology company infringed on its patent related to a hormone that makes cows produce more milk.

The university’s Board of Regents sued Monsanto for patent infringement in 2004, and the case was scheduled to go to trial Monday.