capital gains on real estate

I helped my son purchase a property. Instead of paying off the loan to me, he transferred the house back to me through a quit claim deed. I subsequently sold the property to recover my money and made some profit. I did not hold the property for one year before selling it. While paying tax on the profit, do I pay capital gains or the date of purchase will be when my son bought it?