Maclean was born on 15 June 1848, the eldest son of General Andrew Maclean. He began his military career in the
69th (South Lincolnshire) Regiment of Foot in 1869. He was dispatched overseas to fight the
Fenians in
Canada. In 1876 he resigned from his regiment, and the following year he went to
Morocco and began his career as an army instructor for the
Sultan Mulai Hassan. He gained the trust of the
Sultan of Morocco and his successor
Moulay Abdelaziz through his service and fought against opposing
tribes throughout Morocco. During his career, he was
kidnapped and held for
ransom after a failed first attempt. He visited the forbidden city of
Tafilalt, and eventually became commander of the Sultan of Morocco's Army. Although he was loyal to his employer to a fault, he was regarded as an unofficial
British agent in the
United Kingdom. In June 1901 he was attached to a Special diplomatic mission from Morocco to the United Kingdom to congratulate King
Edward VII on his recent accession, and the King appointed him a Knight Commander of the
Order of St Michael and St George (KCMG) during the visit. ==Life in Morocco==