Amazon will pay $42 a share in cash for the organic-food chain, the companies said on Friday. John Mackey, Whole Foods’ outspoken co-founder and chief executive officer, will continue to run the business.

Amazon’s biggest acquisition to date came in 2014, when it agreed to buy video-game service Twitch Interactive Inc. for $970 million in cash, according to data compiled by Bloomberg. The Seattle-based company had about $21.5 billion of cash and equivalents at the end of March, the data show.