Islamabad, Nov 29, Pakistan's outgoing army chief General Raheel Sharif on Tuesday warned India that "mistaking our policy of patience for weakness" would prove "dangerous".

Gen. Sharif was speaking at the 'Change of Command' ceremony at the General Headquarters in the garrison town in Rawalpindi, capital Islamabad's twin city, the military's media wing said.

General Qamar Javed Bajwa officially took charge as the 16th army chief of Pakistan during the ceremony, the media wing said.

In his farewell speech at the ceremony, attended by former army chiefs, federal ministers and foreign diplomats, Gen Raheel Sharif stressed the need for institutions to work together for the nation's progress, and cautioned India against adopting an aggressive stance in the region.

He referred to the Kashmir Valley and said, "In recent months, India's increasing terrorism and aggressive stance in IHK (Jammu and Kashmir) have endangered the region."

"India should know that mistaking our policy of patience for weakness would be dangerous."

Sharif said he always prioritised national interest in every decision he made during his tenure. But the security situation in the region remains "complicated".

During the ceremony Gen. Sharif handed over the "command stick" to General Bajwa -- signifying the change over of the army command.

Gen. Bajwa has spent a considerable part of his military service in the Rawalpindi-based 10 Corps, which is responsible for guarding the Line of Control (LoC) that divides India and Pakistan. However, his time at the 10 Corps was a period of relative quiet following the 2003 ceasefire accord.

However, he takes command amid serious escalation of tensions on the LoC, which saw some of the intense exchange of fire in the past few months.

On a personal level, Gen. Bajwa is said to be witty, accessible, well-connected with the troops and not fond of limelight.

He is the fourth officer from the infantry's Baloch Regiment to become the army chief. Before him, Gen. Yahya Khan, Gen. Aslam Beg and Gen. Kayani rose to that position.