Capital gains tax and purchase price of house

House was purchased at $229K.  Ownership was transferred to a trust during marriage and mortgage was paid off.  19 years later, we got divorce.  House was valued at $300k in the divorce decree and ownership transferred to me as part of the settlement in lieu of cash.  

 

For purposes of capital gains tax - do I use the original purchase price of home or the value of the home in the divorce decree when ownership was transferred to me when the trust was dissolved.