Can I deduct my 10 years property tax when selling my investment property?

I did not deduct the property tax for 10 years and allowed my sister to live there. I did not do Section 266 to capitalize on the expenses. Can I deduct the property tax when selling the property?


Thanks.