The Ghazi Attack was built by the French company Chantiers Dubigeon in Nantes, France, and was commissioned into the Pakistan Navy in 1970. The submarine was designed to operate in both shallow and deep waters, making it a versatile asset for the Pakistani Navy.