Manasseh repented in the 22nd year of his reign [(Seder Olam chapter 25)] in Year 3250, and stood in his repentance for 32 years [(see Divrei HaYamim II 30, Chelek chapter 111)].
Year 3250 of the Jewish calendar.
This was Manasseh's prayer while he was bound in iron chains in Babylon, which the sages of Edom copied from Greek books.
HaShem, God of Avraham, Yitzchak, and Yaakov and their righteous offspring, who made the heavens and the earth and all their hosts, and placed a boundary for the sea, and with Your commandments You closed the abyss, and awesome is Your Name, and all fear You and tremble at Your deeds and Your wrath upon the wicked. But great and awesome is the grace which You have promised, for You are great over all the earth, and Your mercies are abundant, and evil upon You is the wickedness of men, and You in Your great goodness have declared to accept those who return to You.
And You, God of the righteous, did not set repentance for Avraham, Yitzchak, and Yaakov because they did not sin before You, but I have sinned and like the sand on the seashore are my many sins. I am bound exceedingly with iron chains and cannot lift my head, for I have angered You and done evil before You by setting up abominations and multiplying in wickedness. And now I come before You with bending knees from my heart to seek Your grace.
I have sinned, my God, and I have transgressed, and I acknowledge my wickedness, and I ask forgiveness from before You, HaShem my God, that You should forgive and pardon me so that You do not destroy me with my sins, and do not stand my punishment forever, and save me in Your great kindness even though I am not worthy, and I will praise Your Name forever all the days of my life, for all Your creatures praise You, Selah, and Yours is the greatness forever and ever [(Shir HaShirim chapter 19 b)].
Manasseh [brought an idol into the Temple; he served between two idols (meaning Micah) for he was saved from Judgment and saved from fire by saying all noses are equal. And with a spirit they returned him to the kingdom as it says "He who returns the wind." And from then, when he was there, that spirit saved him, as it is called "He makes His angels spirits." And if not for Micah being divided into two sparks - Manasseh and Rebshakeh the sons of Hezekiah - it would have been twenty times as difficult, and the world could not withstand that the wicked destroy the world.
Therefore when Hezekiah saw this he dropped him from his shoulders. And Rebshakeh died in that chapter as stated in the first chapter of Berachot, or his son died in that chapter when Manasseh and Rebshakeh were born and divided into two sparks. According to this it seems that Micah was at the giving of the Torah (Bereishit). In Gittin, chapter of the elders, one gave his eyes to his master's wife - he was Manasseh who was in the First Temple, and this act was in the Second Temple.
And the master who divorced his wife was Amon who came upon his mother, the wife of Manasseh, and the woman who was divorced was the mother of Amon - Meshulemet daughter of Charutz, wife of Manasseh (Bereishit)].