In the army, Kalākaua served as first lieutenant in his father Kapaʻakea's militia of 240 men and later worked as military secretary to Major John William Elliott Maikai, the adjutant general of the army.