Given the task definition and input, reply with output. This task is about reading the given passage and construct a question about the information present in the passage. Construct a question in such a way that (i) it is unambiguous, (ii) it is answerable from the passage, (iii) its answer is unique (iv) its answer is a continuous text span from the paragraph. Avoid creating questions that (i) can be answered correctly without actually understanding the paragraph and (ii) uses same words or phrases given in the passage.

Gaddafi briefly studied History at the University of Libya in Benghazi, before dropping out to join the military. Despite his police record, in 1963 he began training at the Royal Military Academy, Benghazi, alongside several like-minded friends from Misrata. The armed forces offered the only opportunity for upward social mobility for underprivileged Libyans, and Gaddafi recognised it as a potential instrument of political change. Under Idris, Libya's armed forces were trained by the British military; this angered Gaddafi, who viewed the British as imperialists, and accordingly he refused to learn English and was rude to the British officers, ultimately failing his exams. British trainers reported him for insubordination and abusive behaviour, stating their suspicion that he was involved in the assassination of the military academy's commander in 1963. Such reports were ignored and Gaddafi quickly progressed through the course.
What subject did Gaddafi briefly study before joining the military?