Was France a part of another country if so who?

No, France was always an independent country.