Catherine was appointed regent from July to September 1544 while Henry was on a military campaign in France and in case he lost his life, she was to rule as regent until Edward came of age. However he did not give her any function in government in his will. In 1543, she published her first book, Psalms or Prayers, anonymously. On account of Catherine's Protestant sympathies, she provoked the enmity of anti-Protestant officials, who sought to turn the King against her; a warrant for her arrest was drawn up in 1545. However, she and the King soon reconciled. Her book Prayers or Meditations became the first book published by an English queen under her own name. She assumed the role of Elizabeth's guardian following the King's death, and published a second book, The Lamentation of a Sinner.