Purana Jyotisha Sangraha · by Vyasa
Chapter 13 · Kashi: Planet and Nakshatra Lingas
स्कन्दपुराणम् : काश्यां ग्रहनक्षत्रलिङ्गानि लोलार्कश्च
तत्रैव तप्तवान् सोमस्तपः परमदुष्करम् ।तत्रैव राजसूयं च चक्रे चंद्रेश्वराग्रतः ॥ ३५ ॥
From the Skanda Purana, print Kashi Khanda (Purvardha) ch 14, verse 35.
Right there Soma did very hard austerity. Right there he also did the Rajasuya, in front of Chandreshvara.
Simple meaning: The Moon did hard austerity and the Rajasuya in front of Chandreshvara.
तत्रैव ब्राह्मणैः प्रीतैरित्युक्तोसौ कलानिधिः ।
Pleased Brahmins called the Moon their king.
तत्रैव देवदेवस्य विलोचनपदं गतः ।
The Moon reached Shiva's eye, and Shiva spoke for the joy of the worlds.
त्वं ममास्य परा मूर्तिरित्युक्तस्तत्तपोबलात् ।
Shiva calls the Moon his supreme form and promises happiness at his rising.