SOFIA, Bulgaria — Bulgaria's parliament has revoked the controversial appointment of a legislator and media mogul to head the country's security service, which led to several days of large protests.

Prime Minister Plamen Oresharski apologized Wednesday for last week's appointment of Delyan Peevski to the powerful post and asked legislators to reverse the decision. The motion to cancel Peevski's appointment was backed by all 128 legislators present.

Oresharski said he made a political mistake, and apologized to "the thousands of people who took to the streets to protest." He rejected, however, protesters' demands that he resign because it would lead to a "bigger political crisis."

President Rosen Plevneliev is convening political leaders Thursday to seek solutions to end the political crisis.