Police detained one person after the Akali Dal chief was attacked with a knife while visiting a gurdwara.