BUDAPEST - Hungary's Prime Minister Viktor Orban retained his controlling two-thirds majority in parliament following last week's election, a final ballot count revealed Sunday, giving him free legislative rein for the next four years.

Orban's ruling rightwing Fidesz party was already the clear winner of the election hours after polls closed last Sunday. 

But its two-thirds majority remained in doubt until ballots from abroad -- which could have changed the outcome in several voting districts -- were counted.

In the end, these ballots made little difference, with Fidesz winning 49.6 percent of votes, far ahead of the nationalist Jobbik party in second with 19.2 percent and the Socialist-led centre-left alliance with 12.0 percent, according to the state newswire MTI.

This means Fidesz (along with its junior coalition partner the Christian Democrats) will have 133 seats in the 199-seat parliament. 

That gives it a two-thirds majority that allows it to steamroll legislation through parliament without the need for approval from any other party.

Jobbik and the Socialist-led alliance will take up 26 and 20 seats respectively. Another leftist party Democratic Coalition (DK), led by former prime minister Ferenc Gyurcsany, will take up nine seats, while the green party LMP will have eight.