On February 17, 1797, the governor of Puerto Rico Brigadier General Ramón de Castro, received news that Great Britain had invaded the island of Trinidad. Believing that Puerto Rico would be the next British objective he decided to put the local militia on alert and to prepare the island's forts against any military action. On April 17, 1797, British ships under the command of Sir Ralph Abercromby approached the coastal town of Loíza, to the east of San Juan. On April 18, British and Hessian troops landed on Loíza's beach. Under the command of de Castro, British ships were shot at by artillery from both El Morro and the San Gerónimo fortresses but were beyond reach. After the invaders disembarked practically all fighting was land based with many skirmishes, field artillery and mortar fire exchanges between the San Gerónimo and San Antonio Bridge fortress and British emplacements in Condado to the East and El Olimpo hill in Miramar to the South. The British tried to take the San Antonio, a key passage to the San Juan islet, and repeatedly bombarded the nearby San Gerónimo almost demolishing it. At the Martín Peña Bridge, they were met by the likes of Sergeants José and Francisco Díaz and Colonel Rafael Conti who together with Lieutenant Lucas de Fuentes attacked the enemy with two cannons. After fierce fighting by the Spanish forces and local militia, they were defeated in all attempts to advance into San Juan. The invasion failed because Puerto Rican volunteers and Spanish troops fought back and defended the island in a manner described by a British lieutenant as of "astonishing bravery".