> While studying, I ran my own business for almost two years.

This sounds natural to me, but my friend claims that the continuous form ("I was running") is gramatically correct. Which is it?