The first Chinese dynasty to have writing - metal working - and cities was?

I think it was the Ming but I also don't think it could be the Ming because they weren't in the Bronze age