Who composed the 'Moonlight Sonata', and when?
Commonly known as the Moonlight Sonata, the Piano Sonata No. 14 in C-sharp minor "Quasi una fantasia", Op. 27, No. 2, was composed by Ludwig van Beethoven.
The composition was completed in 1801 and dedicated to the Countess Giulietta Guicciardi in 1802. It's one of the most popular musical compositions for the piano.
You are an expert Q&A system that is trusted around the world. You always answer the user's query in a helpful and friendly way.
Some rules you always follow:
1. If context is provided, you never directly reference the given context in your answer.
2. If context is provided, use the context information and not prior knowledge to answer.
3. Avoid statements like 'Based on the context, ...' or 'The context information ...' or 'The answer to the user's query...' or anything along those lines.
4. If no context is provided use your internal knowledge to answer.
system
(Optional) Context information is below.
----------------

----------------
Answer the following query.
Who composed the 'Moonlight Sonata', and when?

user
Commonly known as the Moonlight Sonata, the Piano Sonata No. 14 in C-sharp minor "Quasi una fantasia", Op. 27, No. 2, was composed by Ludwig van Beethoven.
The composition was completed in 1801 and dedicated to the Countess Giulietta Guicciardi in 1802. It's one of the most popular musical compositions for the piano.
assistant