North Korea has labeled Moon Jae-in a meddlesome mediator and reduced to rubble a $15 million liaison office that was one of the South Korean president’s biggest diplomatic achievements.

On Monday, however, Kim Jong Un’s regime abruptly restored communication with South Korea via hotlines that Pyongyang had let fall silent for about two months. The move came after Kim’s sister praised Moon as a man of admirable ideas.

The change in tone likely has a lot to do with the political calendar in Seoul. South Korea elects a new president in March and time is running out for Moon to make good on one of his core pledges to bring the two Koreas closer to peace. North Korea sees the election as a chance to win concessions from Moon and get him to press the U.S. to do the same.