On 13 April 1987, the governments of Portugal and China signed the Joint Declaration on the Question of Macau to lay out the terms of the handover of Macau to the PRC. The date for the handover was set at 20 December 1999.