Is the usage of If correct in the following sentence?
If in the past the protests erupted against the continuing military rule, in February, the military usurped power from an elected government after a decade of partial democracy.
If it is correct what is its meaning?
Source: The Hindu