A federal judge has denied requests by federal employees who have been working during the partial government shutdown that would have forced the administration to pay workers or given them the option to choose not to work without pay.

The orders came after federal workers asked U.S. District Judge Richard Leon of the U.S. District Court of the District of Columbia to issue temporary restraining orders in cases related to the ongoing partial government shutdown.

The National Air Traffic Controllers Association, the National Treasury Employees Union, and federal workers filed lawsuits against the federal government arguing that having to work without pay during the shutdown violated the Constitution and federal law.

In their lawsuit against the Trump administration, a group of federal workers said that by requiring them to work without pay, the government is violating the 13th Amendment, which abolished slavery. The workers asked Leon to block the Trump administration from requiring federal employees to work without compensation during the partial shutdown, stop the government from taking "adverse action" against workers who decline to show up for work without pay, and block the administration from restricting workers' abilities to obtain employment elsewhere during the shutdown.

[Also read: Federal workers' union sues Trump administration over 'inhumane' shutdown]

As part of its challenge, the National Air Traffic Controllers Association, which represents air traffic controllers employed the Federal Aviation Administration, asked Leon to issue an order restoring the pay for members of the National Air Traffic Controllers Association and the individual plaintiffs from the time the shutdown began.

The group argued in court filings that being forced to work without compensation violates its members’ Fifth Amendment right to due process.

The National Air Traffic Controllers Association wrote in a court filing that the loss of pay has led one plaintiff to be unable to mourn the loss of her grandmother, who died Jan. 8, with her family members, as she cannot afford to travel. In another instance, plaintiffs can’t afford medical care for family members, and another hasn’t been able to make payments to a former spouse, which puts him at risk of violating a court order, the group said.

Other air traffic controllers impacted by the shutdown, meanwhile, will not be able to make loan payments to the Thrift Savings Plan, the group said.

“Measuring the weight of these individual losses as they are multiplied across the thousands of Air Traffic Controllers represented by NATCA becomes unbearable; a continued deprivation of rights is not sustainable for NATCA’s members, who already serve the nation in one of the most stressful jobs in the country,” the NATCA wrote in a court filing. “These are losses for which future monetary compensation is insufficient.”

In a second lawsuit, the National Treasury Employee Union argued that by directing federal employees to work without pay, the government has been relying on a section of federal law that violates the Constitution’s Appropriations Clause. Because of this, the group asked the court to immediately block the government from requiring NTEU members to work during the period of lapsed funding for a slew of federal agencies.

“They are suffering, and will continue to suffer, harms that will not be remedied even if Congress retroactively pays them for their labors,” the group wrote in court filings. “This court’s immediate intervention is thus needed.”

Roughly 800,000 federal workers have been impacted by the ongoing partial government shutdown, which began Dec. 22 when funding for a slew of federal agencies lapsed and is on its 25th day. On Friday, those employees missed their first paycheck.

The shutdown is the result of an impasse between President Trump and congressional Democrats over funding for a wall along the U.S.-Mexico border. Trump wants Congress to appropriate $5.7 billion for the wall, but Democrats are staunchly opposed to this request and believe that negotiations over funding for the wall should begin only after the government reopens.

Trump held additional discussions with Democratic leaders at the White House last week, but the talks collapsed after Democrats reiterated their opposition to funding for the wall, leading the president to walk out of the room.

The president held a lunch at the White House with Republicans on Tuesday afternoon for further discussions on the situation at the border. White House press secretary Sarah Sanders said Trump extended the invitation to congressional Democrats, but they did not accept.