He adopted a plan to capture a hill where republican guns could dominate the city's harbour and force the British to evacuate. The assault on the position led to the capture of the city, but during it Bonaparte was wounded in the thigh on 16 December. Catching the attention of the Committee of Public Safety, he was put in charge of the artillery of France's Army of Italy. On 22 December he was on his way to his new post in Nice, promoted from the rank of colonel to brigadier general at the age of 24. He devised plans for attacking the Kingdom of Sardinia as part of France's campaign against the First Coalition.