Background: William Hogarth was born at Bartholomew Close in London to Richard Hogarth, a poor Latin school teacher and textbook writer, and Anne Gibbons. In his youth he was apprenticed to the engraver Ellis Gamble in Leicester Fields, where he learned to engrave trade cards and similar products. Young Hogarth also took a lively interest in the street life of the metropolis and the London fairs, and amused himself by sketching the characters he saw. Around the same time, his father, who had opened an unsuccessful Latin-speaking coffee house at St John's Gate, was imprisoned for debt in Fleet Prison for five years.
Context: In 1731 Hogarth completed the earliest of his series of moral works, a body of work that led to significant recognition. The collection of six scenes was entitled A Harlot's Progress and appeared first as paintings (now lost) before being published as engravings. A Harlot's Progress depicts the fate of a country girl who begins prostituting - the six scenes are chronological, starting with a meeting with a bawd and ending with a funeral ceremony that follows the character's death from venereal disease.  The inaugural series was an immediate success and was followed in 1733-1735 by the sequel A Rake's Progress. The second instalment consisted of eight pictures that depicted the reckless life of Tom Rakewell, the son of a rich merchant, who spends all of his money on luxurious living, services from prostitutes, and gambling - the character's life ultimately ends in Bethlem Royal Hospital. The original paintings of A Harlot's Progress were destroyed in the fire at Fonthill House in 1755; the oil paintings of A Rake's Progress (1733-34) are displayed in the gallery room at Sir John Soane's Museum, London, UK.  When the success of A Harlot's Progress and A Rake's Progress resulted in numerous pirated reproductions by unscrupulous printsellers, Hogarth lobbied in parliament for greater legal control over the reproduction of his and other artists' work. The result was the Engravers' Copyright Act (known as 'Hogarth's Act'), which became law on 25 June 1735 and was the first copyright law to deal with visual works as well as the first to recognize the authorial rights of an individual artist.
Question: When did Hogarth paint Harlot's and Rake's Progresses?. Whats the answer?
) before being published as engravings.