 After two years of discussions, the Portuguese government decided to break off diplomatic relations with the Republic of China on 8 February 1979, and established diplomatic relations with the People's Republic of China the next day.Both Portugal and the People's Republic of China recognised Macau as Chinese territory under temporary Portuguese administration, and agreed that the exact time for its return and related details would be discussed later between the two sides.After Portugal and the People's Republic of China formally established diplomatic relations, officials of the two countries began to visit each other.