The Dirichlet problem goes back to George Green who studied the problem on general domains with general boundary conditions in his "Essay on the Application of Mathematical Analysis to the Theories of Electricity and Magnetism", published in 1828.