Donald Trump has signed a $1.1 trillion spending bill to fund the Government for the remainder of the fiscal year. It includes no money for a Mexican border wall, despite it being one of the biggest promises of his campaign.

White House spokeswoman Sarah Huckabee Sanders, speaking to reporters at a regular media briefing, confirmed the president had signed the bill.

The bill cleared both houses of Congress this week an Mr Trump signed it behind closed doors at his home in central New Jersey, ahead of a midnight deadline for some government functions to begin shutting down. But other battles over government spending lie ahead. Among those are the border wall, as well as a promised military buildup.

Negotiators on the bill dropped Mr Trump's demands for a down payment on his oft-promised wall along the US-Mexico border, but his signature buys five months of funding stability while legislators argue over the wall and over Mr Trump's demands for a huge military buildup matched by cuts to popular domestic programmes and foreign aid accounts.

The House passed the measure Wednesday on a big bipartisan vote, though 103 of the chamber's conservative Republicans opposed the bill. The White House and its GOP allies praised $15 billion in additional Pentagon spending obtained by Mr Trump and $1.5 billion in emergency border security funds but was denied funding to begin construction work on the border wall.

“After years of an administration that failed to get serious on border security, this bill provides the largest border-security funding increase in a decade,” said Senate Majority Leader Republican Mitch McConnell, a key negotiator.

And Democrats and the pragmatic Republicans who negotiated the bill successfully defended other accounts targeted by Mr Trump such as foreign aid, the Environmental Protection Agency, support for the arts, and economic development grants, among others.

The sweeping, 1,665-page bill also increases spending for Nasa, medical research, and the FBI and other federal law enforcement agencies.

Donald Trump's first 100 days: in cartoons Show all 33 1 /33 Donald Trump's first 100 days: in cartoons Donald Trump's first 100 days: in cartoons Donald Trump's first 100 days in office were marred by a string of scandals, many of which caught the eye of the Independent's cartoonists Donald Trump's first 100 days: in cartoons Trump's first 100 days have seen him aggressively ramp up tensions with his nuclear rivals in North Korea Donald Trump's first 100 days: in cartoons Mr Trump has warned of a "major, major conflict" with the pariah nation lead by Kim Jong Un Donald Trump's first 100 days: in cartoons Mr Trump dropped the "mother of all bombs" on alleged ISIS-linked militants in Afghanistan, amid an escalation of US military intervention around the globe Donald Trump's first 100 days: in cartoons Mr Trump has been accused of falling short of the standards set by his predecessors in the Oval Office, including Franklin D Roosevelt Donald Trump's first 100 days: in cartoons The tycoon's ascension to the White House came at a time when the balance of power is shifting away from Western nations like those in the G7 group Donald Trump's first 100 days: in cartoons Western politicians, including the British Conservative party, have been accused of falling in line behind Mr Trump's proposals Donald Trump's first 100 days: in cartoons Brexit is seen to have weakened Britain, reducing still further any political will to resist American leadership Donald Trump's first 100 days: in cartoons Mr Trump's leadership has been marked by sudden and unexpected shifts in global policy Donald Trump's first 100 days: in cartoons Trump's controversial missile strike on Syria, which killed several citizens, was seen by some analysts as an attempt to distract from his policy elsewhere Donald Trump's first 100 days: in cartoons The President has also spent a large majority of his weekends golfing, rather than attending to matters of state Donald Trump's first 100 days: in cartoons Though free of gaffes, a visit from Chinese president Xi Jinping spotlighted trade tensions between the two states Donald Trump's first 100 days: in cartoons One major and unexpected setback came when Mr Trump's Healthcare Bill was struck down by members of his own party Donald Trump's first 100 days: in cartoons Mr Trump has been a figure of fun in the media, with his approval at record lows Donald Trump's first 100 days: in cartoons A string of revelations about Mr Trump's financial indiscretions did not mar his surge to the White House Donald Trump's first 100 days: in cartoons Outgoing President Barack Obama was accused of wiretapping Trump Tower by his successor in America's highest office Donald Trump's first 100 days: in cartoons The alleged involvement of Russian intelligence operatives in securing Mr Trump the presidency prompted harsh criticism Donald Trump's first 100 days: in cartoons The explosive resignation of Security Adviser Michael Flynn, who lied about his links to the Russian ambassador, was just one scandal to hit the President Donald Trump's first 100 days: in cartoons Many scandals, such as the accusation Barack Obama was implicated in phone-hacking, first broke on Mr Trump's Twitter feed Donald Trump's first 100 days: in cartoons Donald Trump's election provoked mass protests in the UK, with millions signing a petition to ban him from the country Donald Trump's first 100 days: in cartoons Donald Trump cited a non-existent terror attack in Sweden during a campaign rally Donald Trump's first 100 days: in cartoons Donald Trump stands accused of stoking regional tensions in Eastern Asia Donald Trump's first 100 days: in cartoons North Korea has launched a number of failed nuclear tests since Mr Trump took power Donald Trump's first 100 days: in cartoons Theresa May formally rejected the petition calling for Mr Trump to be banned from the UK Donald Trump's first 100 days: in cartoons When Mr Trump's initial so-called Muslim ban was struck down by a federal justice, the President mocked the 69-year-old as a "ridiculous", "so-called judge" Donald Trump's first 100 days: in cartoons A week after his inauguration, Theresa May met with Mr Trump at the White House Donald Trump's first 100 days: in cartoons Donald Trump's first days in office were marked by a hasty attempt to follow through on many of his campaign promises, including the so-called Muslim ban Donald Trump's first 100 days: in cartoons Donald Trump's decision to ban citizens of many majority-Muslim countries from the US sparked mass protests Donald Trump's first 100 days: in cartoons Revelations about Donald Trump's sexual improprieties were not enough to keep him from being elected President Donald Trump's first 100 days: in cartoons British PM Theresa May was criticised by many in the press for cosying up to the new President Donald Trump's first 100 days: in cartoons One of Mr Trump's top aides, Kelly Anne Conway, was mocked for describing mistruths as "alternative facts" Donald Trump's first 100 days: in cartoons British PM Theresa May was quick to demonstrate that her political aims did not hugely differ from Mr Trump's Donald Trump's first 100 days: in cartoons Donald Trump's inauguration, on 20 January 2017, sparked protests both at home and abroad

Democrats also praised the measure as an example of bipartisan cooperation in the handling of the 12 annual appropriations bills that fund the federal government. It reflects bipartisan culture among congressional appropriators, who long ago sorted out many of the spending fights Trump wants to renew this summer — over foreign aid, funding for the arts, Amtrak subsidies, grants to state and local governments, and development agencies like the Appalachian Regional Commission.

“On a bipartisan basis, we rejected President Trump's ill-considered proposal to slash domestic programmes by $15 billion, including deep cuts for NIH and low-income energy assistance. Instead, this bill includes a $2 billion increase for the National Institutes of Health,” said a top Democratic negotiator, Senator Pat Leahy of Vermont, who called the bill “a good deal for the American people.”

Mr Trump took to Twitter earlier this week to complain about the bipartisan process that produced the measure but changed course to crow about additional spending for the military and border security. The White House has said he'll sign the bill.

One of Trump's tweets advocated for a “good shutdown” this fall to fix the “mess” that produced the bill, though he appeared at the White House just hours later to boast that it was a big win for him.

Congressional Republicans — motivated in great measure by fear of a politically damaging government shutdown — worked closely with minority party Democrats to produce the measure, which made only small changes to most accounts covered by the measure.

But many rank-and-file Republicans saw the bill as a lost opportunity for a fight that could have produced victories on the wall and punishing “sanctuary” cities that fail to cooperate with immigration authorities.

“It is a win for Democrats and a loss for conservatives,” said tea party Representative Dave Brat “We have a Republican in the White House and control of both chambers of Congress yet this legislation fails to include key conservative reforms Republicans have long-advocated.”

Even supporters of the bill dislike the secretive, closed-door negotiations that produced it and delivered it seven months behind schedule while denying anyone the opportunity to amend it.

“Is there any member of the United States Senate that has read this?” asked Senator John McCain of Arizona . “And many of us are going to be compelled to vote for it because we don't want to shut the government down.”

The signing by Mr Trump came as twelve athletes began swimming across the border from the United States to Mexico in an effort to call attention to immigrants.

The swimmers kicked off their journey from the city of Imperial Beach, California, and headed south toward a fence that juts into the Pacific Ocean. Kayakers paddled alongside for safety. Mexican immigration officials and schoolchildren prepared to greet them on a beach in the border city of Tijuana.

Supporters held on to the swimmers' passports during the 6.2 mile swim.

Organiser Kim Chambers of New Zealand insisted the swim isn't a protest against President Donald Trump's border wall or government policy but says an air of “negativity” after last year's US elections was the catalyst.