Thimar agrees to sell real estate stake