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 the Third ( 2007 ) .
Shrek Forever After