on 1 july 1851 the kennet and avon canal company was taken over by the great western railway. on 5 july 1865 the gwr obtained an act which permitted (among other things) the abandonment of the a&gr line, and the last entry in the a&gr account book was dated january 1867.