sentences:  In premodern times, many Chinese villages (especially those close to rivers and seas) had temples dedicated to their local "dragon king".In times of drought or flooding, it was customary for the local gentry and government officials to lead the community in offering sacrifices and conducting other religious rites to appease the dragon, either to ask for rain or a cessation thereof.The King of Wuyue in the Five Dynasties and Ten Kingdoms period was often known as the "Dragon King" or the "Sea Dragon King" because of his extensive hydro-engineering schemes which "tamed" the sea.