Tim Cook's 15-year tenure at the helm of Apple was highly profitable for Wall Street, as the company's market cap swelled from $350 billion to $4 trillion.

Cook will turn over CEO duties to Apple’s head of hardware engineering, John Ternus, on September 1.

Apple said Tim Cook has decided to step down as CEO and that John Ternus, senior vice president of hardware engineering, will take over the role.