In 1818 Pétion died and Boyer replaced him as the second President of the Republic of Haiti.
Boyer believed Haiti had to be acknowledged as an independent nation, and that this could be established only by cutting a deal with France.