When did Hungary gain its independence?
Hungary declared independence on October 17, 1918 and officially formed its government on November 1 of that year.
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction: When did Hungary gain its independence?
### Input: 
### Response: Hungary declared independence on October 17, 1918 and officially formed its government on November 1 of that year.