After the Indonesian Revolution, Indonesian independence was recognized by the end of 1949. In the mid-1950s, talks between Japan and Indonesia began on war reparations after the San Francisco Agreement was signed, and finalized with the Agreement on Compensation and the opening of diplomatic relations in 1958. The bilateral diplomatic relations between Republic of Indonesia and Japan officially established in April 1958.