PM stresses importance of ‘learning from history to avoid mistakes of past’