Person
Khosrow II
?–628 CE · King of the Sasanian Dynasty · Sasanian Persia

He was the king who made the lands of the Sasanian Dynasty largest, and was then deposed after losing to Byzantium.
He made the lands of the Sasanian Dynasty largest, but in the end he lost the war and was driven out.
More detail
Two sources checked
Khosrow II was the son of Hormizd IV. Driven out by Bahram Chobin, he fled to Byzantium and regained the throne in 591 with the help of the emperor Maurice.
When Maurice was murdered in 602, he started a war and took Syria, Jerusalem and even Egypt. But after a counterattack by Heraclius he was defeated at Nineveh in 627, and in 628 he was deposed and killed by his son Kavad II.
The love story of him and his queen Shirin became a major theme of Persian literature, for example in Nizami's Khosrow and Shirin.