What i can remember; The female protagonist is a duke's daughter. Her engagement with the prince was annulled. So, she decided to pursue her true love, a general, old enough to be her grandfather's friend
The one you are looking for should be this one. The Duke’s Daughter Is the Knight Captain’s (62) Young Wife