Between 1806 and 1807, British military forces tried to invade the area of the Rio de la Plata, at the command of Home Riggs Popham and William Carr Beresford, and John Whitelocke. The invasions were repelled, but powerfully affected the Spanish authority.