Original: The fort was taken and held by the Maharajas of Jammu and Kashmir until 1947.
Simplified: The fort was taken and held by the Maharajas until 1947.