He then returned to Britain to obtain a master's degree in international law and constitution at the University of London. He returned in 1962, upon which he was appointed state legal adviser and Deputy Public Prosecutor for both Negeri Sembilan and Melaka. He returned to Kuala Lumpur a year later, and served in a variety of posts under the Attorney-General, culminating in an appointment as Solicitor-General.[4]