Police in India's northern state of Uttarakhand Sunday arrested a man carrying a homemade pistol as he tried to enter a rally which was to be addressed by Sonia Gandhi, chief of India's ruling alliance, media reports said.