D contributed property to an LLC for a 40% interest in profits and losses. His basis in the property was $100,000 and it was subject to a nonrecourse mortgage for $160,000. The fair market value of the property was $300,000. The partners earned $200,000 in taxable income and it had $10,000 in tax exempt income. In addition sold the property contributed by D for $350,000, after retiring the mortgage. The partnership had no other liabilities. What is D's basis in the partnership after these events?