The French Revolution, the rise of Napoleon Bonaparte, and the subsequent wars in Europe weakened Spain's ability to maintain contact with and defend and control its colonies. British invasions of the River Plate of 1806–7 were repulsed by the local colonial troops and volunteer militias without help from Spain.