The Los Angeles Rams acquired Brandin Cooks in a trade with the New England Patriots on Tuesday night.

Cooks and Jared Goff had already been throwing together this offseason, according to a report. The players are represented by the same agency.

The Rams had been trying to acquire Cooks for more than a year. They attempted to get him from the New Orleans Saints last year before the Patriots completed a deal.