Q: This task involves creating answers to complex questions, from a given passage. Answering these questions, typically involve understanding multiple sentences. Make sure that your answer has the same type as the "answer type" mentioned in input. The provided "answer type" can be of any of the following types: "span", "date", "number". A "span" answer is a continuous phrase taken directly from the passage or question. You can directly copy-paste the text from the passage or the question for span type answers. If you find multiple spans, please add them all as a comma separated list. Please restrict each span to five words. A "number" type answer can include a digit specifying an actual value. For "date" type answers, use DD MM YYYY format e.g. 11 Jan 1992. If full date is not available in the passage you can write partial date such as 1992 or Jan 1992. If you find multiple spans, please add them all as a comma separated list. Please restrict each span to five words.
Passage: The 5 October 1910 revolution was the overthrow of the centuries-old Portuguese Monarchy and its replacement by the Portuguese Republic. It was the result of a coup d'etat organized by the Portuguese Republican Party. By 1910, the Kingdom of Portugal was in deep crisis: British pressure on Portugal's colonies, the royal family's expenses, the assassination of the King and his heir in 1908, changing religious and social views, instability of the two political parties , the dictatorship of Joao Franco, and the regime's apparent inability to adapt to modern times all led to widespread resentment against the Monarchy. The proponents of the republic, particularly the Republican Party, found ways to take advantage of the situation. The Republican Party presented itself as the only one that had a programme that was capable of returning to the country its lost status and place Portugal on the way of progress. After a reluctance of the military to combat the nearly two thousand soldiers and sailors that rebelled between 3 and 4 October 1910, the Republic was proclaimed at 9 o'clock of the next day from the balcony of the Pacos do Concelho in Lisbon. After the revolution, a provisional government led by Teofilo Braga directed the fate of the country until the approval of the Constitution in 1911 that marked the beginning of the First Republic. Among other things, with the establishment of the republic, national symbols were changed: the national anthem and the flag. The revolution produced some civil and religious liberties, although there was no advance in women's rights and in workers rights, unlike what happened in other European countries.
Question: How many years elapsed between the assassination of the King of Portugal, and the revolution to overthrow the monarchy?
Answer type: Number
A:
2.