original_query: When was Halleck awarded a brevet promotion to captain and for what reason?
query: When was Halleck awarded a brevet promotion to captain and for what reason?
answer: Halleck was awarded a brevet promotion to captain in 1847 for his "gallant and meritorious service" in California and Mexico.