Image copyright Reuters Image caption DUP MP Sir Jeffrey Donaldson and Tory Chief Whip Gavin Williamson signed the deal in front of their party leaders

A deal between the Conservatives and the Democratic Unionist Party (DUP) includes an extra £1bn in public spending for Northern Ireland.

DUP leader Arlene Foster said she was "delighted" with the package, which is part of an agreement to prop up Theresa May's minority government.

The PM sought the DUP's support after losing her majority in the election.

Sinn Féin said the deal was a "blank cheque for a Tory Brexit" but any money coming to NI was a "good thing".

Under the "supply and confidence" arrangement, the DUP guarantees that its 10 MPs will vote with the government on the Queen's Speech, the Budget, and legislation relating to Brexit and national security.

Once the deal was signed in Downing Street, Mrs Foster returned to Northern Ireland, where talks to restore the power-sharing executive continue.

The DUP's Nigel Dodds said on Monday evening that the financial package negotiated by his party with the Conservatives is not contingent on the restoration of the Stormont executive.

Northern Ireland has been without a devolved government since March and parties have until Thursday to find agreement on a range of issues, including the Irish language and how to deal with legacy cases from the Troubles.

'Resolutely oppose'

At the Westminster level, talks between the Conservatives and the DUP began shortly after the general election on 8 June but it took longer than expected to finalise a deal.

As well as the financial commitments, the two parties have agreed:

No change to the pensions triple-lock or the universal winter fuel payment

A Nato commitment of spending 2% of GDP on the armed forces

Implementation of the Armed Forces Covenant in Northern Ireland

Following the deal, Sinn Féin president Gerry Adams pledged to "resolutely oppose" any preferential treatment for British soldiers "either in terms of legacy or the provision of public services".

Image caption Arlene Foster and her DUP team arriving at Downing Street to meet Theresa May

In a letter outlining the deal to Conservative MPs, Mrs May said both the DUP and the Tories "agree the need for additional financial support for Northern Ireland and jointly desire that this will play a positive role in the efforts to re-establish devolved government".

Speaking outside No 10, Mrs Foster said the details of the agreement would "boost the economy and invest in new infrastructure as well as investing in the future of our health and education sectors".

Where will the money go?

Health: A minimum of £250m, with £200m directed to health service transformation and £50m towards mental health provision. It will also receive £50m to "address immediate pressures"

A minimum of £250m, with £200m directed to health service transformation and £50m towards mental health provision. It will also receive £50m to "address immediate pressures" Education: £50m to "address immediate pressures"

£50m to "address immediate pressures" Infrastructure: £400m for projects including delivery the York Street Interchange, plus £150m to provide ultra-fast broadband across Northern Ireland. Northern Ireland's capital budget is currently about £1bn per year.

£400m for projects including delivery the York Street Interchange, plus £150m to provide ultra-fast broadband across Northern Ireland. Northern Ireland's capital budget is currently about £1bn per year. Deprivation: £100m over five years targeted to deprived communities

£100m over five years targeted to deprived communities VAT and Air Passenger Duty tax: Agreed to further consultation

Agreed to further consultation Corporation tax: Agreed to work towards devolving the tax to Stormont

Agreed to work towards devolving the tax to Stormont City deals and Enterprise Zones: Agreed to "comprehensive and ambitious set" of city deals and "limited number" of Enterprise Zones

Read more analysis from BBC News NI business editor John Campbell

SDLP leader Colum Eastwood said it was critical the money was "targeted at areas of need, not the parochial priorities of one political party".

Stephen Farry, from the Alliance Party, described the agreement as "significant", provided any new money was spent "wisely and strategically".

Media playback is unsupported on your device Media caption The chief whips from both parties sign the document

Mr Adams said the price of the deal was "DUP support for continued Tory austerity and cuts to public services".

"The allocation of additional funds could help to ease the enormous pressure on our public services," he added. "The devil is in the detail."

The agreement has been criticised by politicians in England, Scotland and Wales, who argue spending in Northern Ireland should be matched in other parts of the UK.

Money distributed to Scotland, Wales and Northern Ireland is controlled by the Barnett Formula, which dictates the allocation of funding from Westminster according to population size and what powers are devolved to each nation.

'Unique circumstances'

Labour Party leader, Jeremy Corbyn, said the deal was "clearly not in the national interest" but was designed to help the prime minister "cling to power".

"The government must immediately answer two questions," Mr Corbyn said.

"Where is the money for the Tory-DUP deal coming from? And, will all parts of the UK receive the much needed additional funding that Northern Ireland will get as part of the deal?"

Media playback is unsupported on your device Media caption Damian Green: Cash is to help devolved government

Irish Minister for Foreign Affairs, Simon Coveney, suggested the agreement could help Stormont - Northern Ireland's government - negotiate a better deal when the UK leaves the EU.

"An enhanced Northern Ireland voice, articulating an agreed devolved government position, could see more effective and inclusive representation of the unique circumstances of Northern Ireland at Westminster," Mr Coveney said.

Analysis: Marie-Louise Connolly, BBC News NI health correspondent

Northern Ireland's health service is a big winner from the DUP-Conservatives deal - it will receive about £300m that will allow the service some breathing space.

Many will argue that it is just a sticking plaster that will not go far enough to see the transformation that is required.

The UK government is to allocate £50m per year for two years to enable the executive to address immediate pressures in health and education.

While £50m may sound a lot, in practice that amount of money could be spent very quickly trying to tackle the thousands of people on hospital waiting lists.

On top of that, £100m per year will be allocated for two years towards transforming the local health service - this will go someway in helping to deliver the recommendations set out in the Bengoa health review and the Department of Health's subsequent 10-year plan.

The big surprise is the money allocated to tackling mental health: £10m per year for five years.

Concerns have been raised that the DUP-Tory deal could undermine the peace process and devolution negotiations, as a government dependent on the support of the DUP could not be impartial in its Northern Ireland policies.

However, Conservative MP and First Secretary of State Damian Green said the deal made it "more likely" that devolved government would be restored in Northern Ireland, with the funding going to all communities.

Stormont parties have been warned that if they cannot reach agreement on restoring the government, direct rule from Westminster could follow.

Northern Ireland's institutions collapsed amid a bitter row between the DUP and Sinn Féin about a botched green energy scheme.

The late deputy first minister, Martin McGuinness, stood down in protest over the DUP's handling of an investigation into the energy scandal, in a move that triggered a snap election in March.