Purana Jyotisha Sangraha · by Vyasa
Chapter 4 · Moon at Prabhasa, Mars at Kashi
शिवपुराणम् : कालज्ञानम् उत्पाताः ग्रहक्षेत्राणि च
विश्वेश्वरप्रसादेन ग्रहत्वं प्राप्य भूमिजः ।दिव्यं लोकं जगामाशु शुक्रलोकात्परं वरम् ॥ २७ ॥
From the Shiva Purana, print Rudra Samhita, Parvati Khanda ch 10, verse 27.
By the grace of Vishveshvara, the son of Earth reached the rank of a planet. He quickly went to a fine heavenly world, beyond the world of Venus.
Simple meaning: The text says Mars became a planet at Kashi by Shiva's grace.
विप्रवर्य कवे तात मम भक्तोऽसि पावनः ।
The text says Shiva praised Venus for his hard penance and his devotion.
लिंगस्थापनपुण्येन लिंगस्याराधनेन च ।
The text says Venus earned merit by setting up and worshipping a linga.
अविमुक्तमहाक्षेत्रपवित्राचरणेन च ।
The text says Shiva looked on Venus like his own sons and would give him anything.