 He directed the Plot of Garraf that, in 1925, intended to kill Alfonso XIII and all his family, placing an explosive device at Garraf railway, where the royal train would pass by.A traitor caused the plot to fail, and Perelló and his fellows were condemned to death.Later, their sentences were commuted to life because the authorities did not want them to become martyrs.