In 1778 Spain raised sales taxes (known as the alcabala) on goods produced and sold in the colonies,[1][7] in part to fund its participation in the American Revolutionary War. José Gabriel Condorcanqui, an upper-class Indian with claims to the Inca royal lineage, adopted the name Túpac Amaru II (alluding to Túpac Amaru, the last Inca emperor), and in 1780 called for rebellion. He claimed to be acting on behalf of the King of Spain, enforcing royal authority on the corrupt and treacherous colonial administration.[3][8] He was motivated in part by reading of a prophecy that the Inca would rule again with British support, and he may have been aware of the British colonial rebellion in North America and Spanish involvement in the war.[7]