Jeff Zelevansky/Getty Images

Former Buffalo Bills interim head coach Anthony Lynn and the Los Angeles Chargers have agreed on a deal for Lynn to become the team's next head coach.

Albert Breer of The MMQB and Ian Rapoport of NFL Network reported the news on Thursday, and Adam Schefter of ESPN reported Friday that Lynn signed a four-year contract.

Rapoport reported Lynn was the Chargers' top target.

Rapoport, citing a source, noted before the news of the hiring broke that if Lynn got the job, he would retain Ken Whisenhunt as offensive coordinator.

On Jan. 4, Rapoport reported the Chargers "won't force assistants" on their next head coach but "value their offensive staff." Rapoport noted there's a "good chance" Whisenhunt and others stay with defensive and special teams candidates for the job.