TWO armed burglars who attacked a man after breaking into his Carlisle flat have been given seven year jail terms.