An electromagnetic system coupled to a firearm, the firearm including a bolt movable rearward and frontward along a rear-to-front axial direction between a forward position and a rearward position, includes a first electromagnet unit. The first electromagnet unit includes at least one electrically-conductive coil and at least one magnet. The magnet or magnets are movable jointly with the bolt in the axial direction with respect to the at least one electrically-conductive coil. The at least one electrically-conductive coil is configured to generate at least one magnetic field that opposes a rearward movement of the at least one magnet in the axial direction and thereby reduces a rearward recoil of the bolt.