Apple gave CEO Tim Cook and other top executives a large pay raise this year, according to a Securities and Exchange Commission (SEC) filing on Wednesday.

Cook’s total compensation for 2017 jumped to $12.8 million — a roughly 47 percent increase from last year. Apple’s other top executives also saw raises, each to the tune of roughly $1.3 million.

ADVERTISEMENT

Cook’s actual salary saw a comparatively smaller $57,692 increase, but the bulk of his almost $4 million raise came from performance-based cash bonuses.

The raises come after a strong financial year for Apple which saw revenue growth in both hardware products such as phones and computers as well as digital services like Apple Pay, Apple Music and its App Store.

The bonuses received by Apple executives are tied to performance objectives set by the company's board. But the raises are also attracting scrutiny, coming on the heels of President Trump Donald John TrumpSteele Dossier sub-source was subject of FBI counterintelligence probe Pelosi slams Trump executive order on pre-existing conditions: It 'isn't worth the paper it's signed on' Trump 'no longer angry' at Romney because of Supreme Court stance MORE's new tax law which is expected to significantly benefit Apple and other corporations.

One analysis said Apple could see as much as a $47 billion benefit from the tax changes.

Following a 2004 tax holiday, Apple was able to repatriate $755 million in profits it had stashed overseas. The firm pumped much of its cash into stock buybacks which helped drive up the value of its shares.

Many analysts expect Apple to again repatriate funds for stock buybacks, which would raise the value of its executives' shares.