BOSTON AP – A settlement has been reached in a closely watched lawsuit brought after The Boston Globe’s Web site began posting headlines and lead sentences from another publisher’s site, a court official said Monday.

A clerk for U.S. District Judge William Young said GateHouse Media Inc., which owns several Massachusetts dailies, and The New York Times Co., the parent company of The Boston Globe, reached an agreement during the weekend.