sentences:  The earliest parts of the gatehouse were built by around 1170, as the main entrance of the monastic precinct, giving access to its courtyard.The gatehouse was one of a number of the abbey's monastic buildings which survived the Dissolution of the Monasteries, after which in 1542 the abbey became Bristol Cathedral.A deanery was later built adjoining the west side of the gatehouse.