and sales of marketable securities and other investments, and changes in cash paid for acquisitions. Capital expenditures were $3.4 billion, $3.8 billion, and $1.8 billion during 2013, 2012, and 2011. In December 2012, we acquired 11 buildings comprising 1.8 million square feet of our previously leased corporate office space and three city blocks in Seattle, Washington for $1.4 billion. Excluding this acquisition, increases in capital expenditures primarily reflect additional capacity to support our fulfillment operations and additional investments in support of continued business growth due to investments in technology infrastructure, including AWS, during all three periods. We expect this trend to continue over time. Capital expenditures included $493 million, $381 million, and $256 million for internal-use software and website development during 2013, 2012, and 2011. Stock-based compensation capitalized for internal-use software and website development costs does not affect cash flows. In 2013, 2012, and 2011, we made cash payments, net of acquired cash, related to acquisition and other investment activity of $312 million, $745 million, and $705 million. 

Cash provided by (used in) financing activities was $(539) million, $2.3 billion, and $(482) million in 2013 , 2012 , and 2011 . Cash outflows from financing activities result from common stock repurchases, payments on obligations related to capital leases and leases accounted for as financing arrangements, and repayments of long-term debt. Payments on obligations related to capital leases and leases accounted for as financing arrangements and repayments of long-term debt were $1.0 billion , $588 million , and $444 million in 2013 , 2012 , and 2011 . Property and equipment acquired under capital leases were $1.9 billion , $802 million , and $753 million in 2013 , 2012 , and 2011 , with the increases primarily reflecting additional investments in support of continued business growth due to investments in technology infrastructure, including AWS. We repurchased 5.3 million shares of common stock for $960 million in 2012 and 1.5 million shares of common stock for $277 million in 2011 under the $2.0 billion repurchase program authorized by our Board of Directors in January 2010. Cash inflows from financing activities primarily result from proceeds from long-term debt and tax benefits relating to excess stock-based compensation deductions. Proceeds from long-term debt and other were $394 million , $3.4 billion , and $177 million in 2013 , 2012 , and 2011 . During 2012, cash inflows from financing activities consisted primarily of net proceeds from the issuance of $3.0 billion of senior nonconvertible unsecured debt in three tranches: $750 million of 0.65% notes due in 2015; $1.0 billion of 1.20% notes due in 2017; and $1.3 billion of 2.50% notes due in 2022. See Item 8 of Part II, “Financial Statements and Supplementary Data—Note 6—Long- Term Debt” for additional discussion of the notes. Tax benefits relating to excess stock-based compensation deductions are presented as financing cash flows. Cash inflows from tax benefits related to stock-based compensation deductions were $78 million ,