sentence: the earliest written account of the city is the 10th-century laguna copperplate inscription which describes a malay kingdom in what is now manila maintaining diplomatic relations with the indianized kingdom of medang in modern-day java .