Ramesses II ( 1303 BC – July or August 1213 BC; Egyptian : , alternatively transcribed as Rameses and Ramses or ), referred to as Ramesses the Great, was the third Egyptian pharaoh (reigned 1279 BC – 1213 BC) of the Nineteenth dynasty .