Transport Minister Dulles Alahapperuma said yesterday that there had been an attempt to assassinate President Mahinda Rajapaksa when he visited Matara to take part in the opening ceremony of Matara Mahanama Bridge on December 26, 2007.