Input: When did budapest became the capital of hungary?
Output: 

 When did Budapest become the capital of Hungary, as part of a dual monarchy? 
 1867