In the first national elections after independence, held in Mogadishu on 30 March 1964, the SYL won an absolute majority of 69 of the 123 parliamentary seats. The remaining seats were divided among 11 parties. Five years from then, in general elections held in March 1969, the ruling SYL returned to power. However, on 15 October 1969, while paying a visit to the northern town of Las Anod, Somalia's then President Abdirashid Ali Shermarke was shot dead by one of his own bodyguards. His assassination was quickly followed by a military coup d'état on 21 October 1969 (the day after his funeral), in which the Somali Army seized power without encountering armed opposition — essentially a bloodless takeover. The putsch was spearheaded by Major General Mohamed Siad Barre, who at the time commanded the army.