Original: The town of Gilgit is the capital of Gilgit District and capital of Northern Areas of Pakistan.
Simplified: The capital of the Gilgit District is Gilgit town.