The Wakefield steam train could be back on the tracks as early as next summer after a new deal involving the provincial and federal governments was signed Monday.

The train has been stuck at the station since May when a landslide was spotted near its tracks in Chelsea, Que.

Both levels of governments have agreed to fund one-third of the repair costs to get the steam train running in time for next year's busy tourist season.

Although it's estimated it will take at least $10 million to fix the conditions of the railway and prevent future landslides in the area, Quebec Intergovernmental Affairs Minister Benoit Pelletier says an engineering study will determine the exact costs of necessary repairs.

The Wakefield steam train is a popular tourist attraction in the capital, creating 100 mostly part-time jobs and contributing about $8 million to the Outaouais economy.