Updated

Hungary's prime minister says that despite differences of opinion, the country must remain a member of the European Union and NATO.

Prime Minister Viktor Orban said Friday in a speech celebrating five years in government that while some EU proposals "border on the insane," he opposes any attempt to make Hungary exit the EU or NATO.

Orban, whose Fidesz party holds a comfortable majority in parliament, said it is in Hungary's interest to improve the EU, "but not to leave" it.

Probably for the first time, Orban acknowledged that the far-right Jobbik party was now the main challenger.

Jobbik, which calls NATO a "security risk" for Hungary and wants a referendum to confirm EU membership, has been steadily behind Fidesz but ahead of the left wing parties in opinion polls.