Poles rebelled several times against the partitioners, particularly near the end of the 18th century and the beginning of the 19th century. An unsuccessful attempt at defending Poland's sovereignty took place in 1794 during the Kościuszko Uprising, where a popular and distinguished general Tadeusz Kościuszko, who had several years earlier served under Washington in the American Revolutionary War, led Polish insurrectionists. Despite the victory at the Battle of Racławice, his ultimate defeat ended Poland's independent existence for 123 years.