Purana Jyotisha Sangraha · by Vyasa
Chapter 13 · Kashi: Planet and Nakshatra Lingas
स्कन्दपुराणम् : काश्यां ग्रहनक्षत्रलिङ्गानि लोलार्कश्च
इति दत्त्वा वरान्देवस्तत्रैवांतर्हितो भवत् ।द्रुहिणो गुरुणा सार्धं सेंद्रोपेंद्रो बृहस्पतिम् ॥ ६५ ॥
From the Skanda Purana, print Kashi Khanda (Purvardha) ch 17, verse 65.
Having given these boons, the god vanished right there. Brahma, with the teacher, with Indra and Upendra, anointed Brihaspati...
Simple meaning: Shiva vanished; Brahma and others anointed Brihaspati.
अस्मिन्पुरेभिषिच्याथ विसृज्येंद्रादिकान्सुरान् ।
Brahma returned to his own world with Vishnu's leave.
एवं शनैश्चरो जज्ञे सवर्णायां विवस्वतः ।
Saturn was born to the Sun and went to Varanasi.
तप्त्वा तपोऽतिविपुलं लिंगं संस्थाप्य शांकरम् ।
Saturn did great austerity and gained the rank of a planet.