It was looking like he would lose and the courts would force the sale, but the case was settled without a judgement by Elon fulfilling his initial obligation of buying the website.