Bangladesh's electoral commission has set 1 October as the date for the election of the country's eighth parliament.
In a televised address the chief election commissioner, MA Syed, pledged to hold a free and neutral election at any cost with total security for the voters.
According to the election schedule, the candidates must submit their nomination papers on 29 August and the last date for withdrawal of candidature is 6 September.
This will give candidates five weeks for campaigning before the vote.
The chief election commissioner's address put an end to wide-spread speculation over the poll date.
According to the country's constitution, the elections must be held before 11 October to comply with a stipulation that they be held within 90 days of parliament dissolving.
Contenders
Mr Syed said the weather remains a major problem in holding of a successful election.
He said the commission had consulted local and international weather experts when choosing the date as the time of the next election coincided with a season of rains and floods.
One of the major power contenders, the Awami League party of former Prime Minister Sheikh Hasina, had earlier demanded that the vote be held in mid-September.
But its arch rival, the Bangladesh Nationalist Party (BNP) of another former prime minister, Khaleda Zia, favoured a poll in the first week of October.
Despite their differences about the voting date, the leaders of both parties say they will contest the elections.
Mr Syed said all the major parties were consulted to finalise the election date.
Warning
The commissioner assured the country's 7.5 million voters that measures including deploying the army will be taken to ensure a free and fair election and called for co-operation from the bureaucracy.
A few hours before the election schedule was announced, the chief of the caretaker administration, Latifur Rahman, warned public officials that stern action will be taken against those who fail to perform their election duties neutrally.
The last two elections were widely accepted as free and fair by both local and foreign observers.