I've loads to lose and I always knew it would take a long time. I'm about to hit 15 months, and I can't remember sticking with any diet past 5 months before.
What changed things for me is dropping the all-or-nothing approach, where one slip meant quitting until next Monday. This time exercise came in slowly and I don't have strict food rules. I log my calories every day as usual, but nothing counts as cheating or a failed diet, so special occasions are fine. I do have calorie and protein targets, it just doesn't matter much when I go over now and then.
Another thing that helps is lots of little targets, over 50 of them, in pounds, stones, kilos, percentages and BMI. Ticking them off keeps me going.
And at 55, a man who's spent a lot of his adult life obese, perfect isn't the aim, and I'm not even chasing a normal BMI. For now my target is a BMI of 30. When I reach the 2 year point I'll likely switch to maintenance or work on a bit of recomposition. That's also when my original goal comes up, to enjoy my son's graduation next year, moving around easily and in a nice suit.
Well done on how far you've come, and good luck with the rest.