There was no formal change from a republic to a democracy. America has always been a republic with democratic principles.