Please translate the given English sentence to Hindi
दोनों अधिकारी मुख्यमंत्री के रूप में अपने कार्यकाल के दौरान गुजरात में मोदी की सरकार का हिस्सा थे।
Both officers were part of Modi's government in Gujarat during his tenure as Chief Minister.