A road which has been closed for two days has reopened.
Birkwood Road, near Stanley Ferry, collapsed on Wednesday while Yorkshire Water engineers were carrying out repairs to a burst water main.
And an emergency road closure was put in place.
Traffic travelling between Stanley and Altofts had to follow a long diversion via Normanton.
A spokesman for the Yorkshire Water said the road reopened this afternoon (Friday).
He added: “We apologise to customers for the disruption that this has caused and whilst we would have liked to carry out the repair earlier, gasworks in the area prevented us from being able to carry out any work until October.
“The re-routing of water supplies to enable us to carry out this work with minimum disruption to water supply, was also a very complex process that had to be meticulously planned as 6,000 properties would have been without water completely had we got this wrong.
“We would like to thank customers for bearing with us whilst we have been carrying out this work.”