No, they were immune. Donald Trump is the first US President to be criminally indicted after leaving office. Mueller himself went before Congress and said nothing could be done about a President's illegal activities because you cannot pursue a President for illegal activity.