And that's it after 90 minutes of debate - but who came out best?
Bethan Rhys Roberts gets reaction from party figures, spin doctors and experts right now on BBC Two Wales.
Neil Hamilton claims Wales is at the bottom of the table of the UK's nations and regions for incomes - he says UKIP wants to see a business-friendly environment.
Carwyn Jones for Labour says he doesn't want to see Wales squeezed by more Tory cuts - he wants a Wales of opportunity, investment and businesses flourishing to fund public services.
Leanne Wood of Plaid Cymru says Wales has "potential that is yet to be unlocked". Plaid Cymru MPs can ensure the Brexit deal will help the Welsh economy rather than hold it back, she says.
Darren Millar from the Conservatives says the best option for the future is if Theresa May is re-elected prime minister to deliver the best Brexit deal for the UK, with Wales enjoying more devolved powers after leaving the EU.
Mark Williams of the Lib Dems says there are opportunities in Brexit, but the UK should not turn its back on Europe.
Rachael Hutchings has a question about long-term plans over the next decade.
Mark Williams of the Lib Dems says a man in the audience is right to raise the issue of MPs' pay rises while pensioners are threatened with the end of the "triple lock" guarantee.
Darren Millar insists the Conservatives are supporting pensions, saying the triple lock survives until 2020 when there will then be a double lock.
Another woman in the audience tells how disabled people are suffering from the loss of their mobility vehicles and then losing jobs because there is no public transport.
Darren Millar says he is proud of the Conservative record of getting more disabled people into work and said they were the party who introduced the Disability Discrimination Act in 1994.
Leanne Wood claims Mr Millar "doesn't have a clue" as to how disabled people have suffered from cuts.
A woman in the audience says the cost of childcare is a barrier that stops women going back to work.
Carwyn Jones says the Labour Welsh Government is helping by introducing 30 free hours of childcare a week.
Leanne Wood says Plaid Cymru wants to invest an extra £50m on top of what Labour is offering.
Mark Williams calls for investment on big projects such as the Swansea Bay tidal lagoon and metro transport systems for north and south Wales. He also hails his party's pledge to add a penny in the pound on income tax, specifically to boost the health service.
Neil Hamilton says UKIP would spend £9bn extra on the health service and £2bn on social care, taking money away from international aid budgets. He wants to see an enterprise economy, but says the Welsh private sector is too small - lower corporation tax as in Ireland is the way forward, he says.
Carwyn Jones says it can no longer be said the way out of poverty is to get a job if nurses are having to go to food banks. He says there's low unemployment and high employment, but there's more to do to tackle inequality.
Leanne Wood says she believes in public services and the better off should pay more, claiming Tory austerity has failed.
Darren Millar says when the Conservatives took office in 2010, the country was in a mess as a result of the financial crisis. Since then, he says more people have been taken out of tax, and the national living wage has also benefited.
Leanne Wood makes a dig about the notable absence of Welsh Conservative leader Andrew RT Davies.
Neil Hamilton denies Britain is going to turn its back on Europe - "we're not going to build a wall down the Channel" - but says the UK has a massive trade deficit with Europe.
There is "every reason" to think the EU wants to keep free trade with Britain.
Leanne Wood says 200,000 jobs depend on EU membership and it would be "absolutely disastrous" for Welsh farmers and others if Theresa May walked away without a Brexit deal.
Mark Wiliams says there is a real prospect of "falling off the edge of a cliff" with no deal with the EU.
Darren Millar claimed the other panellists were not listening to his assurance that farming aid would be safe at least until 2021.
He claimed the Welsh Government was threatening farmers with "thousands more regulations". Theresa May would never put farmers' businesses at risk, he adde.
Carol Fry's concern is about what can be done to tackle poverty - she wants to hear something "radically different" from the panel
Carwyn Jones says Labour accepts the result of the referendum, but has presented a plan to protect access to the EU single market for Welsh business.
He says there needs to be a worked-out plan from the Conservatives - without a plan, he says we might as well have a "parrot" negotiating over Brexit than the prime minister. He also claims a promise that Wales would not lose out has been "ditched".
Leanne Wood says the health service will be at risk from post-Brexit trade deals. Plaid Cymru will ensure Wales' needs are not only heard, but met, she says.
Darren Millar says EU funding has not made the impact it should have done in poorer areas of Wales, blaming that failure on the Welsh Government. He insists Theresa May will get a better deal on Brexit than Jeremy Corbyn.
Mark Williams of the Lib Dems says "we can't trust the Tories" to give Wales a voice or support Welsh interests in the negotiations. He repeats his party's call for referendum on the terms of Brexit.
Neil Hamilton claims EU money is UK taxpayers' money and after Brexit, Britain will be able to decide how to spend that money itself - there'll be "plenty of money in the coffers", he says.
Wales will be able to decide its own farming policy, not a "faceless civil servant".
Leanne Wood said EU aid redistributed wealth within the UK and did not trust the Conservatives not to "grab the money for themselves".
Darren Millar responds by saying farming aid is guaranteed until 2021 and then Wales will do well from the planned shared prosperity fund.
Lucy Lloyd wants to know how the parties will handle Brexit talks to make sure Wales doesn't lose out.
Mark Williams says it's a "tiny, tiny number" responsible for terror, calling for things to be kept into perspective.
Darren Millar says the platforms for extremists must be taken away, such as cracking down on websites and social media that allow extremists to spread their views.
He claims the Prevent strategy has been successful in foiling several terrorist attacks.
Leanne Wood calls for an end to police cuts - with 19,000 fewer officers on the streets of Wales since 2010 - but Darren Millar responds by saying crime fell under Theresa May's watch as home secretary.
A audience member from Cardiff accuses everyone on the panel of political correctness, claiming people feel unable to speak honestly about Islamic extremism.
Carwyn Jones disagrees with the suggestion that British foreign policy helps incite terrorism - he says we should not let the issue divide society.
Neil Hamilton says "we have to be rather more draconian than we have been in the past".
He says "fanatics" won't be influenced by changes in foreign policy.
We'd rather scapegoat minorities, a Muslim woman in the audience says, than look at the root causes that prompted the Manchester bomber.
She says the Prevent strategy - aimed at stopping the radicalisation of Muslims - makes the situation worse.
Leanne Wood says extremism can be fought if communities work together.
Darren Millar - who says he was brought up in Manchester - says the Conservative UK government is investing record sums in MI5 and counter-terrorism services.
Mark Williams says we need more police and investment in intelligence services. He warns strategies should be worked out with communities, not imposed from above.
Neil Hamilton says you can't keep surveillance over 3,500 suspects, but also calls for a much tougher policy on migration, which he says leaving the EU will help.
Carwyn Jones says his thoughts are with everyone affected by the Manchester attack and there can be "no compromise" with those responsible. That means more police and good intelligence, he says.
Audience member Ali Abdi asks the leaders about security in the wake of the Manchester bombing last week.
He reminds the audience that Theresa May backed Remain, and claims only UKIP will keep the Tories "on the straight and narrow" on Brexit.
Mr Jones says the Tories want to brush under the carpet their record on damaging communities and closing industries. The Conservatives are "cruel and weak", not "strong and stable", he says.
He reminds people of the Manchester bomb attack and, while the nation is grieving, it is defined by its actions - asking if we should propose liberal values and should hold them all dear.
She says with Labour divided, it's up to Plaid Cymru to offer "hope and optimism" instead of "despair and division".
Mr Millar warns of a challenging time ahead for Wales, with Brexit negotiations.
He says it boils down to a straight choice between Theresa May and Jeremy Corbyn for prime minister.
While four of the five parties are being represented by their Welsh campaign leader, a row has broken out in Conservative ranks over who was due to appear on their behalf tonight's event.
With neither Welsh Conservative leader Andrew RT Davies or the party's Welsh Secretary Alun Cairns available, the task has fallen to the party's Welsh education spokesman and policy director Darren Millar AM.
Taking questions from a live audience in Cardiff tonight will be (pictured left to right)
Mark Williams - Liberal Democrats
Carwyn Jones - Labour
Darren Millar - Conservative
Leanne Wood - Plaid Cymru
Neil Hamilton - UKIP
Welcome to our live coverage of the BBC Wales Leaders' Debate.
It's the last time leading figures from the main parties in Wales meet head-to-head in front of a live TV audience before next Thursday's general election.