Rail services were delayed between Chippenham and Bath after a man was hit by a train.
British Transport Police said the fatality was reported at 12.20pm.
The man is believed to have been on the line near Bathampton junction, close to Mill Lane.
Network Rail closed the line between Chippenham and Bath Spa.
More information at www.nationalrail.co.uk
Comments: Our rules
We want our comments to be a lively and valuable part of our community - a place where readers can debate and engage with the most important local issues. The ability to comment on our stories is a privilege, not a right, however, and that privilege may be withdrawn if it is abused or misused.
Please report any comments that break our rules.
Read the rules here