In due time he applied to the Pakistan Military Academy and passed the examinations both intellectual and physical

Please fix the punctuation.
In due time he applied to the Pakistan Military Academy and passed the examinations, both intellectual and physical.