However, the Seven Years' War ended on February 10, 1763 with the signing of the Treaty of Paris  in Paris, France. Also, Silang was assassinated on May 28, 1763 by an Indio under the employ of the friars. The Spanish were then able to focus on the uprising and mustered forces to surround Palaris. The Spanish friars, who were allowed to stay in the province, also started a campaign to persuade Pangasinan residents of the futility of the Palaris Revolt. By September 1763, news of the peace treaty reached Pangasinan and army of Palaris' men surrendered and returned to normal life amid the Spanish offensive. Palaris tried to fend off the offensive at the village of Mabalitec near the Agno River between Binalatongan and Bayambang in December 1763. To prevent the Spanish from seeking lodging in his hometown, he ordered his men to raze Binalatongan. But the Spanish won the Battle of Mabalitec, demoralizing Palaris' forces. The town of Binalatongan was rebuilt in another site between December 1763 to June 1764 and renamed San Carlos , in honor of the reigning King Carlos III of Spain. Palaris' forces made a last stand at the town of San Jacinto, Pangasinan, but they were defeated. Palaris' advisers, Andrés López and Juan de Vera Oncantin, were captured. They would later be hanged.
Question: How many years did the war last>
Answer: 7