Pakistan receives second Hangor-class submarine, which is a modification of a Chinese submarine

The Pakistan Navy has received its second Hangor-class diesel-electric submarine, an export version of the Chinese Type 039B. This is part of an agreement with China under which Pakistan will receive eight submarines to modernise its fleet.
Here's What We Know
The contract for the purchase of eight submarines was signed in 2015. Four of them are being built in Pakistan at the Karachi Shipyard Engineering Works, and the rest - at Chinese enterprises of the China Shipbuilding Industry Corporation.

Pakistani and Chinese military personnel and a Hangor-class submarine. Illustration: Pakistan Navy
Initially, it was planned that all submarines would be delivered by 2028, but due to delays, the first boat was launched only in 2024.
Hangor's specifications have not been officially disclosed, but it is known that it is 76 metres long and has a displacement of 2,800 tonnes. It is equipped with six 533mm torpedo tubes and is capable of launching Pakistani Babur cruise missiles and Chinese YJ-82 anti-ship missiles.
It should be noted that Pakistan agreed to purchase these eight submarines back in April 2015.
Source: Naval