How to make seperate objects?

I’ve created two biezer curves, but blender still counts them as one object. How do I make a selection its own object?

With the p-key, in editmode.

Thank you very much!