The coast guard may, varying by jurisdiction, be a branch of a country's military, a law enforcement agency, or a search and rescue body. For example, the United States Coast Guard is a specialized military branch with law enforcement authority, whereas the United Kingdom's Her Majesty's Coastguard (HMCG) is a civilian organisation whose primary role is search and rescue. Most coast guards operate ships and aircraft including helicopters and seaplanes that are either owned or leased by the agency in order to fulfil their respective roles.