In Ancient Greece and Roman civilizations, brothels were established. Sometimes they were licensed institutions. This was first recorded in Athens in 594 BC. Public sources of the time said it was good that Solon installed the brothel. People said this would reduce the problems caused by sexually unfulfilled sailors and workers. It would also fill money into the public purse. This first official brothel was soon followed by many others, and also influenced the creation of special schools in which various classes of prostitutes (from slavegirls to future courtesans) were trained for their profession. In 2017, a brothel was opened with sexbots instead of human workers.