My parents had an irrevocable trust that closed when they died in 2020.

I was one of the beneficiaries. I sold some of the stock. When determining the basis, what date do I use--the Trust's date or the date the stock was transferred to me?