A Turkish university rector at the heart of protests posing a growing challenge to President Recep Tayyip Erdogan ruled out quitting Wednesday and predicted that the rallies will soon end. More than 300 students and their supporters were detained in Istanbul and the capital Ankara in increasingly violent altercations with the police this week. The demonstrations erupted after Erdogan appointed party loyalist Melih Bulu as the head of Istanbul's elite Bogazici University at the start of the year. Bulu was a candidate in the 2015 general election for Erdogan's ruling AKP party. "I never think about resigning," Bulu told the HaberTurk daily. "I initially predicted this crisis would be over within six months and it will be so." The youth-driven demonstrations have echoes of 2013 protests that sprang up against plans to demolish an Istanbul park before spreading nationally and presenting a direct challenge to Erdogan's rule. The rallies turned violent on Tuesday, with police firing tear gas and plastic bullets while being pelted with various objects from the crowd. Interior Minister Suleyman Soylu said 79 of the detainees were "members of terror groups", including the far-left Revolutionary People's Liberation Party-Front (DHKP/C). "They have occupied the rector's office. I cannot allow this when I am interior minister," he said. The dispute over the rector became more heated after protesters hung a poster near his office depicting Islam's holiest site covered in LGBT imagery last week. The university's LGBT club was disbanded after the incident, but Bulu said he supports the movement. "Bogazici, as an institution, respects every identity," Bulu said. "I am a person who defends the rights and freedoms of LGBT individuals." Soylu tweeted on Saturday that "four LGBT freaks" had been detained for "inciting hatred" with their poster. Twitter hid that post under a warning that it violated the platform's "rules about hateful conduct". It hid a similar post from Soylu on Tuesday. fo/zak/wdb