How about a water wheel driven crane? Pulleys are old tech...
Maybe. They could have used water as a counterweight. Just so long as they had strong enough ropes. Presumably they didn’t have steel cables and I have no idea what rope materials they had at the time. 🤷♂️