The Sri Lankan government on Friday termed the violent demonstration near President Gotabaya Rajapaksa's residence over the current economic crises as "an act of terrorism" and blamed "extremist elements" linked to opposition parties for the incident.