The US Revolution kicked the British government out of the region that would become the United States, but did not itself create the government that the US operates under. That happened 13 years later, when the present secular US Constitution went into effect.