The Dominican Republic was explored by Columbus on his first voyage in 1492. He named it La Española, and his son, Diego, was its first viceroy. The capital, Santo Domingo, founded in 1496, is the oldest European settlement in the Western Hemisphere. Spain ceded the colony to France in 1795, and Haitian blacks under Toussaint L’Ouverture conquered it in 1801. In 1808, the people revolted and captured Santo Domingo the next year, setting up the first republic. Spain regained title to the colony in 1814. In 1821 Spanish rule was overthrown, but in 1822 the colony was reconquered by the Haitians. In 1844, the Haitians were thrown out and the Dominican Republic was established, headed by Pedro Santana. Uprisings and Haitian attacks led Santana to make the country a province of Spain from 1861 to 1865.