When the American Colonisation Society decides it wants freed slaves to emigrate back to Africa, so it purchases a tract of land in West Africa. Then you’re the governor and ask the legislature to have a referendum to declare independence and it passes, and you get elected as the first president.