Shrek was released in 2001 followed by Shrek 2 three years later , then Shrek the Third ( 2007 ) and finally Shrek Forever After .
It is the fourth installment in the Shrek film franchise and the sequel to Shrek ( 2001 ) , Shrek 2 ( 2004 ) and Shrek the Third ( 2007 ) .
Shrek Forever After