President Tharman Shanmugaratnam met with King Sultan Ibrahim Iskandar on his first state visit to Malaysia.