What is it?

Guys, I was 2days late on my period, had a faint positive a few days before it. Been in alot of pain this morning,started to bleed then lost this clot and all pain went. Was this a miscarriage?