Time spent in custody awaiting trial:
Until the enactment of G.S. 15-176.2, ratified 19 July 1971, North Carolina did not allow credit on a sentence of imprisonment for time spent in custody awaiting trial. See, State v. Walker, 277 N.C. 403, 177 S.E. 2d 868, and cases cited therein. However, the allowance of credit for time spent in custody awaiting trial as provided by G.S. 15-176.2 is not available to defendant. The statute, by its terms, applies only to trials commenced after its ratification, i.e., 19 July 1971. Defendant was tried and sentenced in June 1969. Also, it appears that the statute would not avail defendant relief because of another of its terms: “In the event the defendant is convicted of a crime the punishment of which is either death or life imprisonment, such credit shall not be available for pretrial confinement if the sentence of death or life imprisonment is affirmed upon appeal.”
We hold, therefore, that the trial judge was correct in denying petitioner’s request for credit upon his sentence for time spent in custody awaiting trial.
Time spent in custody pending appeal:
Defendant was tried and sentenced in June 1969. The opinion of the Supreme Court of North Carolina (State v. Haynes, 276 N.C. 150, 171 S.E. 2d 435) was filed 6 January 1970 and certification thereof was received in the Superior Court on 20 January 1970. Therefore, G.S. 15-186.1 as rewritten in 1971 *409has no application to the time petitioner spent in custody pending appeal His rights are governed by 1969 Session Laws, Chap. 266, and 1969 Session Laws, Chap. 888.
1969 Session Laws, Chap. 266, amended G.S. 15-184 by inserting provisions which included the following:
“The sentence shall begin as of the date of the commitment in the event the defendant has been admitted to bail pending the appeal. If the defendant has not been admitted to bail pending the appeal, the defendant shall receive credit towards the satisfaction of the sentence for all the time the defendant has spent in custody pending the appeal, except when the sentence is death or life imprisonment.” (emphasis added.)
The foregoing provision of Chapter 266 became effective on 22 April 1969 and remained in effect until 16 June 1969. Therefore, petitioner having appealed on 6 June 1969, it was in effect for the first ten days petitioner was in custody pending appeal.
Effective 16 June 1969, Chap. 888 of the 1969 Session Laws was enacted which repealed Chapter 266. 1969 Session Laws, Chap. 888, after repealing Chap. 266, made provisions which included the following:
“In the event the defendant has not been admitted to bail pending the appeal, he shall receive credit towards the satisfaction of the sentence for all the time he has spent in custody pending the appeal, except when the sentence is death or life imprisonment.” (emphasis added.)
Chapter 888 of the 1969 Session Laws, including the foregoing provision, was codified as G.S. 15-186.1 and remained in effect until it was rewritten in 1971. Therefore, petitioner’s appeal having terminated on 20 January 1970, the foregoing provision of Chapter 266, having been carried forward into Chapter 888, was in effect throughout the time petitioner was in custody pending appeal. The provisions, by their clear terms, do not allow credit for time spent in custody pending appeal when the sentence is life imprisonment.
Defendant cites us to Wilson v. North Carolina, 438 F. 2d 284 (4th Cir. 1971) as authority that credit should be allowed to petitioner despite our statutory prohibition. This court is *410not bound by the pronouncements of the United States Circuit Courts. State v. Barber, 278 N.C. 268, 179 S.E. 2d 404. We recognize the authority of our legislature to provide the punishment for crimes.
The order of the Superior Court denying petitioner credit for time spent in custody awaiting trial and denying petitioner credit for time spent in custody pending appeal is
Affirmed.
Judge Britt concurs. Chief Judge Mallard concurs in the result.