The Baltimore Orioles and Chris Davis have agreed to a seven-year, $161 million deal, according to a source.

The deal, first reported by the MLB Network, is pending a medical review.

The sides reached the agreement less than two days after the Orioles reportedly made an offer to Yoenis Cespedes.

Cespedes is no longer a consideration in Baltimore that Davis has re-signed with the Orioles, a baseball source confirmed.