The Browns’ unpredictable head-coaching search nearly finished with what would have been the most unpredictable outcome of any head-coaching search since Jon Gruden was traded from the Raiders to the Buccaneers a dozen years ago.

Per multiple league sources, the Cleveland Browns nearly pulled off a trade with the 49ers for the rights to coach Jim Harbaugh.

A deal that would have sent multiple draft picks to San Francisco was in place between the teams. But Harbaugh ultimately decided not to leave the 49ers.

The 49ers could not immediately be reached for comment. Efforts to contact the 49ers continue.

The Browns declined to comment specifically on whether an effort was made to acquire Jim Harbaugh. The Browns characterized the search as thorough, and the Browns acknowledged that many options were considered. The Browns emphasized that the team is excited about its new coach Mike Pettine.