On 13 August 1862, an attempt was made between China and Portugal to sign a trade treaty in Tientsin. If the treaty was not ratified in two years, it would become null. In 1864 the treaty did become null. Portugal did not get another chance to sign the second article of the treaty until March 26, 1887 in Lisbon. An envoy was sent from Portugal to China. The protocol was signed by Sun Xuwen from the Chinese side and Tomás de Sousa Rosa for Portugal on December 1, 1887.
According to the Portuguese interpretation, sovereignty over Macau was surrendered to Portugal. In the Chinese interpretation, only administrative rights were transferred. Macau territory was returned to Chinese rule on December 20, 1999.