Masood Khan elected AJK President