In proving some of the results in his thesis Riemann used a variational principle which he was later to call the Dirichlet Principle since he had learnt it from Dirichlet 's lectures in Berlin.

Make this lower case
in proving some of the results in his thesis riemann used a variational principle which he was later to call the dirichlet principle since he had learnt it from dirichlet 's lectures in berlin.