Apple Inc. has joined Tesla Inc. and Amazon.com Inc. in tapping the corporate-bond market this week, with a “maple bond” deal, its first foray into the Canadian market.

The iPhone maker AAPL, -3.17% sold C$2.5 billion ($1.9 billion) in 7-year senior unsecured notes that carry a coupon of 2.513%, according to a filing with the Securities and Exchange Commission.

HSBC, RBC Capital Markets, BMO Capital Markets and Goldman Sachs were lead underwriters on the deal, with Bank of America Merrill Lynch, CIBC Capital Markets and TD Securities acting as co-managers. The deal priced at 80 basis points above the Canadian government’s 7-year bond, according to the Globe and Mail, and is the biggest maple bond deal ever.

Maple bonds are bonds issued by foreign companies in Canadian dollars. The market has mostly been used by banks, although Anheuser-Busch InBev NV BUD, -0.75% , the world’s largest brewer by sales and maker of Budweiser, Stella Artois and Cornona beers, did a C$2 billion deal comprising 7-year and 30-year notes in May, according to research firm CreditSights.

The proceeds of the Apple deal will be used to fund the company’s shareholder return program, as well as for general corporate purposes, working capital, acquisitions and repayment of debt, said the filing. Apple had $96.6 billion of unsecured senior notes and $12 billion of unsecured short-term promissory notes outstanding, as of July 1.

Behind the Glass: How The iPhone Was Born

Apple has repeatedly tapped the bond market to fund the investor return program it launched in 2012, preferring to take on debt rather than repatriate foreign cash holdings that would be subject to a 35% corporate tax rate. President Donald Trump has pledged to implement a lower one-time repatriation tax to encourage U.S. companies to bring home their cash as part of a wider tax reform, but the timing of that move remains uncertain as other of Trump policy moves have stalled.

Read now:These are the 5 U.S. companies with the biggest overseas cash piles

Related: iPhone 8 buzz has rescued Tim Cook’s $90 million bonus

Apple has so far issued debt in U.S. dollars, British pounds and euros, and it did its first samurai, or Japanese yen-denominated offering, in June 2015.

The Apple deal comes just days after Tesla TSLA, +4.42% sold $1.8 billion of 8-year notes in its first sale of pure debt. Tesla has issued convertible bonds in the past, which convert into equity and are supported by the company’s stock price.

See:Tesla’s $1.8 billion in new bonds are riskier than usual

Would You Get Groceries From Amazon?

On Tuesday, Amazon AMZN, -1.78% sold $16 billion in bonds to fund its $13.7 billion acquisition of Whole Foods Market Inc.

Apple’s most active bonds, the 3.200% notes that mature in May of 2027, were last trading at 101.372 cents on the dollar to yield 3.032%, according to MarketAxess.