The Home Minister said central agencies worked in close collaboration with the Karnataka police to gather information leading to his arrest.
Mehdi used to visit prominent ISIS related sites, mostly in Arabic language and then translate the contents into English and repost the material on his twitter account 'ShamiWitness'.
Singh said Mehdi belongs to a middle class family from Kolkata and has done his electrical engineering from Gurunanak Dev Institute of Technology in 2012 and joined the ITC, Bangaluru, following a campus recruitment.
Mehdi was working as "manufacturing executive" with ITC Foods and was staying in an one-room apartment in the IT city.
Britain's Channel 4 News had first aired the report regarding Mehdi's link with the Twitter account that is followed by foreign jihadis.
Mehdi has been arrested under Sec 125 of IPC (whoever wages war against the Government of any Asiatic power in alliance or at peace with the Government of India or attempts to wage such war, or abets the waging of such war), different sections the of Unlawful Activities (Prevention) Act and the Information Technology Act.