Can't delete a line in a writer file

Linux Mint 20.3 Cinnamon.

In a writer document suddenly a line across the page popped up and I can’t delete it.

The ideas of

did not lead to the needed solution.

How can this line be deleted?

Thanks for helping comments

There are a couple of ways to remove the line if it is the Horizontal Line:

  • Click at the end of the previous paragraph before the line and press Del . Or
  • Click at the beginning of the line and double click the paragraph style you want in the Styles sidebar. You could instead press Ctrl+0 (zero) to change the paragraph style of the horizontal line to Body Text