Pakistan's military says an army major who was wounded in cross-border clashes near Afghanistan the day before has died of his wounds.

He is the second fatality from the artillery exchanges at the Torkham crossing on the Afghan-Pakistan border that erupted late Sunday. The clashes have killed an Afghan border guard and left 18 wounded on both sides of the boundary.

The Pakistani military says Maj. Ali Jawad Khan died on Tuesday morning and that his body would be returned to his family in the southwestern city of Quetta later in the day.

Prime Minister Nawaz Sharif paid a tribute to Khan, saying he sacrificed his life in defense of his country.

Each side has blamed the other for the violence. The crossing has been closed since the violence erupted.