 The gunnery officer was usually the line officer next in rank to the executive officer.As shipboard guided missiles and torpedoes became more effective than naval artillery, guns were included within a weapons department replacing the older gunnery department.The weapons department is supervised by a weapons officer who may have a subordinate gunnery officer supervising the ship's guns.