Input (grade 8): Having reigned since 9 June 1946, he is the world's longest-serving current head of state and the longest-reigning monarch in Thai history.
Output (grade 9): Having been the king since June 9, 1946, he is the world's longest-serving current head of state and the longest-serving monarch in Thai history.