Rami was born in Tafraout, Morocco, the son of a Berbersheikh. While attending the école normale supérieure in Casablanca, Rami joined the National Union of Popular Forces. After graduating in June 1963, Rami taught history, geography, French and Arabic at secondary schools in Casablanca. In autumn 1965, Rami enrolled in the Royal Military Academy in Meknes with the intention — as an officer — of becoming more effective in his opposition to the regime. Following the arrest and disappearance of Mehdi Ben Barka, Rami became resolved "to enter the system in order to destroy it." Rami became a tank lieutenant in the Royal Moroccan Army and claims to have had close ties with general Mohamed Oufkir. Convinced that the King of MoroccoHassan II was a puppet of Jews and the Central Intelligence Agency, Rami participated in the 1972 Moroccan coup attempt. He sought and obtained political asylum in Sweden in 1973. In 1987, Rami began using a public access Swedish radio station to broadcast Radio Islam, ostensibly a public relations program for Sweden's Muslims. The content of the shows, however, focused on Jews, and the station was accused of being a vehicle for antisemitism. In 1989, "Rami was charged by the Swedish Chancellor of Justice with hate speech." The charge was based in particular on programs aired on Radio Islam but also on passages of his book Vad är Israel?. Rami was sentenced to six months imprisonment in 1990, and Radio Islam's transmission permit was revoked for a year. The station resumed broadcasting in 1991 under the direction of David Janzon; however, in 1993, Janzon was convicted of the same crime. In March 1992, Robert Faurisson visited Sweden at the invitation of Rami and was interviewed in two Radio Islam broadcasts. Rami was a featured speaker at the annual conference of the Institute for Historical Review, a "revisionist" organisation, in 1992. Radio Islam was off the air from 1993 to 1995, but the program returned in 1996 under Rami's direction, the same year that he established the Radio Islam website. In October 2000, Rami was again convicted and fined by a Swedish court. Rami has been investigated for hate crimes in France and Sweden for his role in maintaining the Radio Islam website. The latest investigation ended in 2004 when the Swedish prosecutor was unable to prove that Rami was responsible for the content. According to Rami a "group of youngsters" was in charge of the website. He did not provide any names. On 25 November 2006, Rami was a guest lecturer at a convention of the Swedish National Socialist Front and the group distributed his books on their website. Rami also distributed NSF's own pamphlets and books.