In the election of 1860, Lincoln received 1,865,593 popular votes, 39% of the total votes cast. How many people voted in the 1860 election? Round your answer to the nearest whole number.
$1865593=0.39(x)$
$x=\frac{1865593}{0.39}$
$\boxed{x \approx 4783572}$