Spain. A decentralized republic was set up, with the territory of Louisiana divided up into self-governing "states." There was a nationally elected Congress, with a President serving for a single seven year term starting in 1788. Due to the wide expanse of the country, Congressman were elected for 12 year terms also beginning in 1788; each state elected three Congressman. In 1802, General Napoleon Bonaparte was elected President; upon his election, the Second Seven Years War started after as assasination attempt on his life. Later that year, Bonaparte reformed the country entirely; the Federated Republic of Louisiana became simply the Louisiana Republic, and the government was highly centralized; the states still existed, but all power was held in the capital of New Orleans (and there were now no terms for the President). Bonaparte set up an oligarchic republic, where the law ruled, but all the power was held by the Bonaparte family. He remained President until his death in late 1845; he was succeeded by his son, and since 1844 Vice President, Napoleon Bonaparte II.