Ahmed Dogan, leader of the Movement for Rights and Freedoms (MRF), was unharmed and the unidentified man was wrestled to the ground by security guards.
The incident happened on Saturday at a party congress in the capital Sofia.
Interior Minister Tsvetan Tsvetanov said the attacker tried to fire two shots but “most likely the gun misfired”.
He also said the assailant had a criminal record for drugs possession, robberies and hooliganism.
Police arrested the attacker, a 25-year-old from the Black Sea town of Burgas, who was also carrying two knives.
The liberal MRF party represents ethnic Turks and other Muslims, who make up about 12% of Bulgaria’s population of about seven million.
Ahmed Dogan, 58, has lead the party for almost 25 years. He returned to the party conference a few hours after the attack and was given a standing ovation.
President Rosen Plevneliev said in a statement: “Bulgarian society is traditionally known for its tolerance, mutual acceptance and respect between different ethnic groups and religions.
“Such an act is unacceptable in a democratic state.”
Attacks on politicians are rare in Bulgaria, but in 1996, former Prime Minister Andrei Lukanov was found shot dead near his home in Sofia.
cN8KZwKRVXQImage source: Wikimedia Commons President-elect Donald Trump celebrated his election victory at the Ultimate Fighting…
Millions of voters across the US chose to return Donald Trump to the White House…
Donald Trump declares victory in the US election as he addresses jubilant supporters in Florida.…
Stocks around the world are rising as Donald Trump appears to be on the cusp…
Donald Trump has won Pennsylvania, North Carolina and Georgia and taken a lead over Kamala…
Quincy Jones, the celebrated musician and producer who worked with Michael Jackson, Frank Sinatra, Ray…