Here is a tragic story based on your description:
The old King sat on his throne, weary and alone. At 70 years of age, he had never married or produced an heir. The kingdom needed an heir to continue his dynasty, so in desperation he married a young woman of 20 named Rosalind.
Though beautiful, Rosalind did not love the old King. The marriage was one of duty, not affection. Still, she performed her duties as Queen and soon found herself pregnant with the King's child. The King doted on Rosalind, overjoyed that an heir was ensured.
However, dark clouds were gathering. Invaders threatened the kingdom's borders and war seemed inevitable. The King called his banners, summoning soldiers from across the land. Reluctantly, he asked Rosalind to remain safely in the castle for the sake of their unborn child.
But Rosalind refused. Though heavy with child, she insisted on riding into battle at the King's side. The King pleaded with her, begging her to stay for the sake of their heir. But Rosalind would not be deterred. She put on armor and straddled her horse, determined to defend her people and new kingdom.
The ensuing battle was long and brutal. Rosalind fought fiercely, cutting down invaders with sword and spear. But as the battle dragged on and her pregnancy advanced, she began to tire.
Eventually, overwhelmed by invaders, Rosalind fell from her horse. As she lay on the blood-soaked ground, she felt her child kick within her for the last time. Rosalind's eyes closed and her body grew still.
When the battle was won, soldiers found Rosalind's body among the fallen. The King wept bitterly when he saw his young Queen, and the child she had sacrificed her life to bring into the world, lying lifeless on the battlefield.
The old King's heir was lost, and with Rosalind, the hope of joy in his final years. He returned to his empty castle and empty throne, more weary and alone than ever before.