A £150,000 project to preserve Sandal Castle for future generations will start next year.
New steps will be installed at each of the moats, paths will be upgraded and new information signs will be put up.
Urgent work will also be carried out on the Great Hall as part of a ten year plan which has been compiled with English Heritage.
More than £93,000 of the money has been donated from the George Hyde legacy.
Trevor Mitchell, English Heritage Planning and Conservation Director, said: “The George Hyde legacy was set up specifically to care for and safeguard the future of Sandal Castle for the benefit of the public.
“Without this kind gift, these works would not have been possible.”
Not-for-profit organisation WREN has also donated £62,000.
Coun David Dagger, cabinet member with responsibility for heritage, said: “The condition of the castle has deteriorated in recent years through a combination of natural erosion, misuse by a small number of visitors, and deliberate vandalism.
“Wakefield Council is keen to arrest this deterioration, and to promote the tourist and interpretative potential of the site to local, regional and national audiences.”