The Dominican Republic gains independence from Haiti in 1844, leading to the formation of a sovereign nation.