Even before the advent of Buddhism and Jainism, Vaiśālī was the capital of the  republican Licchavi state.
Vaiśālī functioned as the capital city of the republican Licchavi state long before the widespread adoption of Buddhist or Jain religious practices.