He completed the marathon in well under four hours - his seventh since becoming MP for Barnsley Central.
He managed to raise more than £11,000 for the charity which he has supported for a number of years.
Dan said: “Unfortunately for me, I hadn’t done much training, so it was a long, hard slog.
“However, I’ve been blown away by the generosity people have shown and I’m delighted to have so far been able to raise thousands to support the incredible work of Cancer Research UK.
“I know from my own personal experience the devastation cancer causes.
“I hope that by running I’ve not only been able to raise some money, but also awareness of the importance of attending screening appointments and early diagnosis.
“Catching the disease early saves lives and I’d urge anyone, if they notice any changes or think that something is just not quite right - please get it checked out.
“That particularly applies to all the stubborn blokes out there who are notoriously bad for not bothering to go and see their GP.”