As of 2002, Azerbaijan had 95,000 active personnel in its armed forces. There are also 17,000 paramilitary troops. The armed forces have three branches: the Land Forces, the Air Forces and the Navy. Additionally the armed forces embrace several military sub-groups that can be involved in state defense when needed. These are the Internal Troops of the Ministry of Internal Affairs and the State Border Service, which includes the Coast Guard as well. The Azerbaijan National Guard is a further paramilitary force. It operates as a semi-independent entity of the Special State Protection Service, an agency subordinate to the President.