SANTIAGO, Chile -- Chile's Senate has voted to impeach Education Minister Harald Beyer for professional misconduct for failing to monitor profits in the education sector.

Beyer will be banned from holding public office for five years following the 20-18 vote. The Chamber of Deputies had previously narrowly voted in favor of the measure to remove him from office.

Wednesday's vote was seen as a triumph for Chile's center-left opposition, which hopes to regain the presidency in November elections, and the country's student protest movement, which has held two years of marches to demand free education and an end to for-profit universities.

Opposition lawmakers had accused Beyer of not investigating complaints about profits being made at the private Universidad del Mar.

Visibly distraught, Beyer thanked his team at the Education Ministry and said that "the worst face of politics has taken precedence."

Also on HuffPost:

Loading Slideshow...
  • Celebrating Chile's Independence Day

    A light show is presented before the La Moneda presidential palace during celebrations in Santiago on September 16, 2010, two days before Chile's bicentenary. CLAUDIO SANTANA/AFP/Getty Images

  • Celebrating Chile's Independence Day

    Captain Avalo Aviation School F-16 airplanes overfly the parade that celebrates the Army Day in the framework of the the 19th anniversary of Chile's independence, 19 September 2007, in Santiago. DAVID LILLO/AFP/Getty Images

  • Santiago de Chile

    Chilean illusionists Nicolas Luisetti (L) and John Paul Olhaberry perform in front of La Moneda presidential palace in Santiago on April 3, 2008. MARTIN BERNETTI/AFP/Getty Images

  • Santiago de Chile

    Car and city lights illuminate Plaza Baquedano, Santiago, Chile (Photo by James L. Stanfield/National Geographic/Getty Images)

  • Santiago de Chile

    Citizenry Square and the Presidential Building, "Palacio de La Moneda" in Chile's capital.

  • Chile's Vineyards

    Carola Dummer (L) and Maria Jose Canales, public relations officers of the Perez Cruz vineyard, wonder along vines of Cabernet Sauvignon stocks, 11 March 2005, in the vineyard in the south of Santiago. Chile's wine history dates back to the Spanish conquest, when vines where first planted by priest Francisco de Carabantes upon his disembarkation in 1548 in Concepcion, 500 km south of Santiago, to provide religious ceremonies with wine. But it was three centuries later, in 1851, that Silvestre Ochagavia introduced French stocks in his vineyard, marking the shift in Chile's viniculture, when Spanish vines would give place among others, to Cabernet, Cot, Merlot, Pinot, Sauvignon, Semillon, Riesling - vines that today constitue the base of the nation's wine production. MARTIN BERNETTI/AFP/Getty Images

  • Chile's Vineyards

    A worker of the Viu Mament vineyard harvests crison sidless stock grapes in Santa Cruz, epicenter of the Colchagua valley, some 160 km south from Santiago, on March 15, 2008. The Grape Harvest Festival began in March in many vineyards, where the white stocks like Chardonnay and Sauvignon Blanc are the first to be harvested, followed by the red ones like Syrah, Merlot, Cabernet Sauvignon, and ending with the Carmenere, which is said to be Chile's emblematic stock, after phylloxera made it disappear from France, the only other country in which such stock existed. MARTIN BERNETTI/AFP/Getty Images

  • Chile's Andes

    Granite towers known as cuernos tower above Lake Pehoe and forests.

  • Chile's Andes

    Steep granite towers known as cuernos, or horns, in the Andes.

  • Chile's Andes

    View of the clouds near the Andes before the start of the 8th stage of the Dakar 2009, between Valparaiso and La Serena, Chile on January 11, 2009. Carlos Sainz of Spain won the stage and keeps the lead of the race. GABRIEL BOUYS/AFP/Getty Images

  • Chile's National Parks

    Torres del Paine National Park, Patagonia, Chile. Tourists at a waterfall near the base of the Patagonia Mountains.

  • Chile's National Parks

    A couple of tourists walk in Torres del Paine National Park in Patagonia, Chile, 10 November 2007. RODRIGO ARANGUA/AFP/Getty Images

  • Chilean Patagonia

    Chile, Patagonia, burnt trees and chamomile flowers in foreground

  • Chilean Patagonia

    View of The Northern Patagonian Ice Field, located in the Laguna San Rafael National Park, 1300 km south of Santiago, Chile, on October 29th, 2007. The Northern Patagonian Ice Field, which covers 200km long and a surface of about 4,200km2, is a vestige of a large ice sheet that covered much of Patagonia million years ago. The park is a UNESCO World Biosphere Reserve since 1979. MARTIN BERNETTI/AFP/Getty Images

  • Chilean Patagonia

    Picture taken on February 3, 2011 of the Pia Glacier in the canal Beagle on the Patagonia peninsula off Chile during the study of the marine microorganisms all over the world of the scientific expedition Tara-Oceans. For this exceptional stage in one of the wild part of the world, Tara sails with a crew of 15 sailors and scientists, with his two leaders of the expedition 'Tara-Oceans', Etienne Bourgois, owner of the shooner, and Eric Karsenti biologist and scientific director. PATRICK FILLEUX/AFP/Getty Images

  • Chilean Patagonia

    Combo of two pictures of the lake Cachet II in Aysen, Chilean Patagonia, 1700 Kms south of Santiago on April 2, 2012. Shortly before midnight of March 31, 2012 the lake with his 200 million liters of water emptied for the second time this year. The lake disappeared completely due to rising temperatures driven by climate change, according to experts. STR/AFP/GettyImages

  • Chilean Desert

    A motorcycle and a quad bike ride across the desert during the stage 11 of the Dakar 2012, between Arica and Arequipa, Chile, on January 12, 2012. French Cyril Despres won stage 11. PHILIPPE DESMAZES/AFP/Getty Images

  • Chilean Desert

    Flowers bloom on the desert in the Llanos de Challe national park, at the doors of the Atacama desert, 600 km north of Santiago, on November 5, 2011. An exceptional year with a 50 mm rainfall helped the more than 200 species of autochthonous flowers, which don't grow elsewhere, 14 of them in risk of extinction, to spread out a colorful blanket over the world's driest desert. ANTOINE LASSAGNE/AFP/Getty Images

  • Chilean Desert

    Radio telescope antennas of the ALMA ( Atacama Large Millimeter/submillimeter Array) project, in the Chajnantor plateau, Atacama desert, some 1500 km north of Santiago, on October 1, 2011. The ALMA, an international partnership project of Europe, North America and East Asia with the cooperation of Chile, is presently the largest astronomical project in the world. When finished, it will consistof 66 high precision antennas that will work as a single telescope, located at 5000 of altitude in the extremely arid Atacama desert. MARTIN BERNETTI/AFP/Getty Images

  • Viña del Mar

    A man makes a Homer Simpson sand sculpture on a beach in Viña del Mar, Chile, on July 3, 2009. MARTIN BERNETTI/AFP/Getty Images

  • Viña del Mar

    Tourists enjoy sandboarding in Viña del Mar, Chile on February 24, 2011 . MARTIN BERNETTI/AFP/Getty Images

  • Viña del Mar Annual International Music Festival

    British singer Sting performs with Chile's symphony during the 52nd Viña del Mar International Song Festival on February 25, 2011 in Viña del Mar, Chile. MARTIN BERNETTI/AFP/Getty Images

  • Valparaíso

    Panoramic view of the port of Valparaíso, Chile, from the Cerro Astillero (Astillero Hill) August 17, 2010, while a lift carries tourists uphill. The Astillero lifts, most of them brought from Britain and Germany and which cover a length of 175m, were built in 1892 to transport the Navy school cadets. At present, five lifts remain in use, some of them with their original machinery. MARTIN BERNETTI/AFP/Getty Images

  • Valparaíso

    A Pro bike downhill rider realizes a jump during the 9th version of Valparaíso urban downhill race in Chile, on February 20, 2011. AFP PHOTO/Claudio SANTANA (Photo credit should read CLAUDIO SANTANA/AFP/Getty Images)

  • Pablo Neruda's House In Isla Negra

    View of the house of Chilean poet Pablo Neruda in Isla Negra resort located some 150 km west of Santiago, on September 03, 2009. Neruda's house in 'Isla Negra' turned into a museum with more than three thousand objects distributed in different areas of the house like a locomotive, a bell tower, a boat, a water source, and also contains the tombs of Neruda and Matilde Urrutia, who were moved from Santiago in a major ceremony on December 12, 1992. In 1973 the house was closed and taken over by the military until 1990 that opened to the public as a museum. AFP PHOTO/Martin Bernetti (Photo credit should read MARTIN BERNETTI/AFP/Getty Images)

  • Valparaíso and Chile's Pacific Coast

    View of sailboats Esmeralda of Chile (C) and Libertad of Argentina (R), sailing away from the port of Valparaíso, Chile, April 18, 2010, during the Bicentennial race. Sailboats from Argentina, Brazil, Chile, Colombia, Ecuador, Spain, Mexico, Portugal, Uruguay, Venezuela and Holland, have competed for 70 days. AFP PHOTO/GIOVANNI GALLI (Photo credit should read Giovanni GALLI/AFP/Getty Images)

  • Easter Island (Chilean Territory)

    The crew of French research and exploration ship La Boudeuse Julia Dudrait, Bruno Tomasi, Captain Patrice Franceschi (2nd R)and Pierre Marcel ride horses in front of the Moais monoliths, in the Ahu Akivi area of the Eastern Island, Chile, 04 February 2005. The three-masted schooner undertakes the second of twelve expeditions around the world in search of the people of water. AFP PHOTO/MARTIN BERNETTI (Photo credit should read MARTIN BERNETTI/AFP/Getty Images)

  • Easter Island (Chilean Territory)

    The sun sets behind Moais -- stone statues of the Rapa Nui culture -- on Easter Island, 3700 km off the Chilean coast in the Pacific Ocean, on July 12, 2010. AFP PHOTO/Martin Bernetti (Photo credit should read MARTIN BERNETTI/AFP/Getty Images)

  • Easter Island (Chilean Territory)

    A plane is seen next to the rainbow on Ankaroa bay in Easter Island, 3700 km off the Chilean coast in the Pacific Ocean, on July 12, 2010. AFP PHOTO/Martin Bernetti (Photo credit should read MARTIN BERNETTI/AFP/Getty Images)