In Canada, the responsibilities of a King's Harbour Master's includes assisting warships in and out of harbours, providing refit services through specialty barges, oversee environmental protection of the harbour, and maintain navy buoys for the
Royal Canadian Navy. In French, a KHM is called a
capitaine de port de Sa Majesté (). King's Harbour Masters are employed in several harbours, including
Esquimalt Harbour,
Nanoose Harbour, and the
CFB Halifax. The functions of
CFB Esquimalt's QHM was transferred to the base operations officer of CFB Esquimalt in 1968, with the QHM staff being adjuncts to the base. However, the Esquimalt QHM was re-established as its own unit in 1974. The QHM for CFB Esquimalt later became the harbour authority for the entire Esquimalt Harbour after
Transport Canada transferred responsibility of the harbour to the
Department of National Defence. As a result, ship movement in Esquimalt Harbour requires the approval of the Esquimalt KHM. A flag for the Queen's Harbour Masters was approved on 1 December 1999, and registered with the
Canadian Heraldic Authority. The flag features a Canadian flag with a white border, with the maple leaf
charged with a plate that includes the royal crown with the letters Q.H.M. inscribed above and C.P.S.M below it. == United Kingdom ==