Cramping after period ended?

My period ended 2 days ago but I'm still having slight cramping. It actually started up yesterday. I would be bothered by this is this cramping was accompanied by some spotting because then I would just assume that my period is still ending but there isn't any spotting. Just random cramping. Why is this happening?