capital gains on a rental property

I had an uninsured loss to a property of $33,000 in 2006. I sold the property last year. Can I deduct the loss from the sales amount if the loss was never depreciated?  (It was paid to a disaster restoration company)