A man who became stuck down an historic mine shaft while trying to rescue his puppy has been rescued himself by emergency services.

Police said they were called out to Hughes Enginehouse at Moonta in the Yorke Peninsula, just before 4pm on Sunday.

They said the “adventurous pup” had slid about 5 to 8 metres down the mine shaft.

The owner had attempted to rescue the puppy, but had become stuck himself.

STAR Group officers were called out to the scene and alongside Country Fire Service and State Emergency Service crews, rescued the man and his pup just before 8pm.

It took crews about four hours to rescue the man and his dog.(Supplied: SA Police)

Police said the man was taken to hospital as a precaution.

Hughes Enginehouse operated in Moonta from 1865 to 1923 and is part of the Moonta Mines National Heritage Area.

The area was added to the National Heritage List in 2017.

The building and remains are accessible through a walking trail.