sentences:  In 1845, Xue Xiang passed the national civil service exam with the title of “Jinshi” or “Advanced Scholar”, and became a Professor.Later he was promoted to the post of Anfu County Commissioner in Hunan Province.In Anfu, Xue Xiang organized the local militia that fought and defeated bands of invading Taiping rebels, and also led the militia in defense of two other local counties against the rebels.