Writer: Cant get rid of accidentally created lines across page

I started to make a line across the page, to divide some paragraphs, and it completed it all the way across, and now I cant remove it and it keeps adding more.

Right click on the previous paragraph → Paragraph → Border tab.

The border is applied as an “AutoCorrect”: on Tools → AutoCorrect → AutoCorrect Options → Options tab there is an option called “Apply border.”