German Chancellor Friedrich Merz's CDU conservatives trailed well behind the AfD, on 17.5 per cent, with the Social Democrats, The Left, Greens and possibly the populist BSW clearing the five per cent minimum threshold to enter parliament, according to projections from the ARD broadcaster.
"We have achieved exactly what we wanted to achieve," the 35-year-old Siegmund said after the first exit polls were announced.
"We have made history in this state."
About 78 per cent of eligible voters took part in the ballot, according to the figures, which is the highest turnout in a Saxony-Anhalt state election.
The previous record of 71.5 per cent was set in 1998.
Turnout rose sharply compared with the previous election in 2021, when the final figure stood at 60.3 per cent.
Siegmund is hoping to become the AfD's first premier of one of Germany's 16 federal states and the youngest ever in the role but the projections suggest the party has narrowly missed securing an absolute majority in the state parliament in Magdeburg.
Siegmund, who became a political sensation on the campaign trail in Saxony-Anhalt, said he wanted to extend a hand to all parties willing to bring about a fundamental political transformation in the state.
However, the AfD will not bend to other parties' will, he stressed.
The AfD has never participated in a ruling coalition in Germany's 16 states or its federal government, as all other mainstream parties refuse to work with it in a policy known as the "firewall".
Siegmund - who arrived at his polling station on Sunday in his home town of Tangermünde on a Simson, a lightweight moped made in the former East Germany - drew thousands to his campaign rallies and repeatedly cast victory in the state as a first step towards the AfD securing power in federal elections due in 2029.
The federal AfD's co-leader Alice Weidel hailed a "historic" result which had given the party a clear mandate to govern but it was not immediately clear whether it would be able to form a government.
She said the AfD in Saxony-Anhalt will talk to any sensible party with whom it can find common ground on policy positions.
"That is the mandate from the voters; that is what they expect of us," Weidel told broadcaster ARD.
Incumbent state premier Sven Schulze of the conservative CDU congratulated the AfD and acknowledged the result showed it was the strongest party.
He said that "we as the CDU will also have to deal with this result".
Schulze later clarified that he does "not intend to work with the AfD".
If the AfD is unable to rule outright, it could trigger a protracted process of coalition building by mainstream parties who are determined to keep a party under investigation for "right-wing extremism" by Germany's domestic intelligence service out of power.
The AfD has dismissed accusations of extremism as scaremongering and an insult to the party's millions of supporters.
The AfD's program includes plans to push schools and cultural institutions towards more traditional values, curb immigration and overhaul public broadcasting.
The AfD is the biggest opposition party in Germany's federal parliament and is strongest in the formerly communist and less prosperous east, where Saxony-Anhalt is located.
with Reuters and AP