His centre-right Justice and Development party (AK Party), in power since 2002, won 49.9 percent of all votes, giving it 325 seats in parliament. The result falls short of the two-thirds majority needed to rewrite Turkey’s 1982 military constitution without having to consult parliament. The Republican People’s party (CHP), came second with 25.9 percent. The only other party to gain seats in parliament, the Nationalist Movement party (MHP), took 13 percent, seemingly unaffected by a sex tape scandal that caused the resignation of 10 senior party members. Thirty-six independent candidates, most of whom are backed by the Kurdish BDP, were also voted in.