Outfielder Nick Swisher has agreed to a contract with the Cleveland Indians, he confirmed on his Twitter account.

A source told ESPN that Swisher agreed to a four-year, $56 million contract that also includes a $14 million option for a fifth season that will "easily vest, making the potential total value of the contract $70 million.

"Wow! What a crazy few weeks. Hey Cleveland! Are you ready? Because I'm coming home! #RollTribe," Swisher tweeted Sunday morning.

The Indians will lose their second-round pick in next year's amateur draft as compensation for signing Swisher, and the Yankees will get an extra selection following the first round.

Swisher's contract agreement was earlier reported by the New York Daily News.

The 32-year-old Swisher spent the past four seasons with the New York Yankees.

He thanked Yankees fans for their support in a follow-up tweet Sunday.

He wrote: "Thank you NY for the kindness & support you've shown me the past 4 years. It's been an amazing experience & I've loved every minute of it!"

Swisher immediately fills a hole in right field for Cleveland, which traded Shin-Soo Choo to Cincinnati this month and has been trying to improve a team that collapsed in August and finished 68-94.