After hours of being trapped in heavy snow and freezing conditions, the last of travellers stranded overnight in their vehicles on a motorway near Spain’s capital Madrid were rescued on Sunday afternoon, emergency services said.

Up to 70 km (44 miles) of motorway between Madrid and nearby Segovia in the centre of the country were blocked by snow during Saturday night, trapping drivers returning from the holiday season.

Between 3,500 and 4,000 drivers were forced to spend the night on the motorway, according to Spanish newspaper El Pais.

Photos posted on Twitter by Spain’s emergency services showed workers battling snow drifts to free drivers. Parts of the highway are remain impassable to traffic, with further snow expected.

Drivers trapped on the motorway took to social media to complain about slow pace of rescue, some saying that were stranded for hours without food or fuel to heat their vehicles.

“I’m with my family, there are two children: one 2 years old, the other 6 years old. The adults haven’t eaten since midday yesterday. The children had the little food we brought with us, but since then they haven’t eaten anything else,” Sara Ramos told Spanish television.

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.