A $124.4 billion or 78% of our total cash was offshore at the end of the December quarter, and cash flow from operations was $22.7 billion.
We paid $2.7 billion in dividends in the quarter and we executed an additional $5 billion in repurchases of 9.6 million shares of Apple stock during the quarter. This brings us to a cumulative total of over $43 billion in payment for dividends and share repurchases over the last six quarters, of which share buybacks were $28 billion. This has resulted in cumulative retirement of 56.5 million shares and represent 6% of the total shares outstanding prior to the launch of the repurchase program.
Our Board of Directors has declared a dividend of $3.05 per common share payable on February 13, 2014 to shareholders of record as of the close of business on February 10, 2014.
Now, as we move ahead into the March quarter, I'd like to review our outlook which includes the types of forward-looking information that Nancy referred to at the beginning of the call. We expect revenue to be between $42 billion and $44 billion compared to $43.6 billion in the year ago quarter. We expect gross margin to be between 37% and 38%, reflecting approximately $110 million related to stock-based compensation expense. We expect OpEx to be between $4.3 billion and $4.4 billion, including about $590 million related to stock-based compensation. We're continuing to invest heavily in R&D in both current revenue-generating categories as well as future products and services. We expect OI&E to be about 200 million and we expect the tax rate to be about 26.2%.
In closing, we're very pleased with our record iPhone and iPad sales, the strong performance of our Mac products and the growth of iTunes software and services revenue. We are thrilled to have the most satisfied, loyal and engaged customers in our industry and we are constantly working to make the user experience even better for them. We are continuing to invest heavily in our future and remain very confident in our new product pipeline.
With that, I'd like to open the call to questions.